function flow() {
			for (var _len = arguments.length, functs = Array(_len), _key = 0; _key < _len; _key++) {
				functs[_key] = arguments[_key];
			}

			return rename(function () {
				var args = arguments,
				    value = undefined;
				functs.forEach(function (funct, _) {
					value = funct.apply(undefined, _toConsumableArray(args));
					args = [isArray(value) ? [].concat(_toConsumableArray(value)) : value];
				});
				return value;
			}, 'flowed');
		}
/**
   * Applies functions in order of the arguments passed to `Function.flow`.
   * @param {...Function} functs The functions to flow. Each function should return an array of arguments to pass to the next function, or a single value.
   * @returns {Function} The resulting built function.
   * @memberof XtraUtils.Function.
   * @example
   * function add(a,b) { return a + b };
   * function square(a) { return a ** 2};
   * addSquare = Function.flow(add, sqaure);
   * addSquare(1,2);		// 9
   */
Applies functions in order of the arguments passed to `Function.flow`.
@param {...Function} functs The functions to flow. Each function should return an array of arguments to pass to the next function, or a single value.
@returns {Function} The resulting built function.
Applies functions in order of the arguments passed to ` Function . flow ` . @param { ... Function } functs The functions to flow . Each function should return an array of arguments to pass to the next function or a single value . @returns { Function } The resulting built function .
function flow() {
			for (var _len = arguments.length, functs = Array(_len), _key = 0; _key < _len; _key++) {
				functs[_key] = arguments[_key];
			}
			return rename(function () {
				var args = arguments,
				    value = undefined;
				functs.forEach(function (funct, _) {
					value = funct.apply(undefined, _toConsumableArray(args));
					args = [isArray(value) ? [].concat(_toConsumableArray(value)) : value];
				});
				return value;
			}, 'flowed');
		}
function flow ( ) { for ( var _len = arguments . length , functs = Array ( _len ) , _key = 0 ; _key < _len ; _key ++ ) { functs [ _key ] = arguments [ _key ] ; } return rename ( function ( ) { var args = arguments , value = undefined ; functs . forEach ( function ( funct , _ ) { value = funct . apply ( undefined , _toConsumableArray ( args ) ) ; args = [ isArray ( value ) ? [ ] . concat ( _toConsumableArray ( value ) ) : value ] ; } ) ; return value ; } , 'flowed' ) ; }
Applies functions in order of the arguments passed to `Function.flow`.
Applies functions in order of the arguments passed to ` Function . flow ` .