_castRest.js 348 B

123456789101112131415
  1. var baseRest = require('./_baseRest');
  2. /**
  3. * A `baseRest` alias which can be replaced with `identity` by module
  4. * replacement plugins.
  5. *
  6. * @private
  7. * @type {Function}
  8. * @param {Function} func The function to apply a rest parameter to.
  9. * @returns {Function} Returns the new function.
  10. */
  11. var castRest = baseRest;
  12. module.exports = castRest;