dist/amd/function/compose.js
function compose() {
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    return function (arg0) {
      return (0, _array.reduceRight)(function (value, fn) {
        return fn(value);
      }, arg0, args);
    };
  }
function compose() {
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    return function (arg0) {
      return (0, _array.reduceRight)(function (value, fn) {
        return fn(value);
      }, arg0, args);
    };
  }
function compose ( ) { for ( var _len = arguments . length , args = new Array ( _len ) , _key = 0 ; _key < _len ; _key ++ ) { args [ _key ] = arguments [ _key ] ; } return function ( arg0 ) { return ( 0 , _array . reduceRight ) ( function ( value , fn ) { return fn ( value ) ; } , arg0 , args ) ; } ; }
Composes all functions passed in from right to left passing each functions return value to
the function on the left of itself.
@function module:function.compose
@type {Function}
@param args {...{Function}}
@returns {Function}
Composes all functions passed in from right to left passing each functions return value to the function on the left of itself .