CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
flowRight.js27 linesDownload Raw Back to lodash-es
1import createFlow from './_createFlow.js';2 3/**4 * This method is like `_.flow` except that it creates a function that5 * invokes the given functions from right to left.6 *7 * @static8 * @since 3.0.09 * @memberOf _10 * @category Util11 * @param {...(Function|Function[])} [funcs] The functions to invoke.12 * @returns {Function} Returns the new composite function.13 * @see _.flow14 * @example15 *16 * function square(n) {17 *   return n * n;18 * }19 *20 * var addSquare = _.flowRight([square, _.add]);21 * addSquare(1, 2);22 * // => 923 */24var flowRight = createFlow(true);25 26export default flowRight;27 
basant307/AI_Governance_Project · CoolFace