DIR : /home/kozerus/public_html/cropex/node/node_modules/framer-motion/dist/es/utils/pipe.mjs

/home/kozerus/public_html/cropex/node/node_modules/framer-motion/dist/es/utils

/**
 * Pipe
 * Compose other transformers to run linearily
 * pipe(min(20), max(40))
 * @param  {...functions} transformers
 * @return {function}
 */
const combineFunctions = (a, b) => (v) => b(a(v));
const pipe = (...transformers) => transformers.reduce(combineFunctions);

export { pipe };
//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer