You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
348 B

  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;