Files
lodash/_castRest.js
2017-01-08 23:37:20 -08:00

15 lines
348 B
JavaScript

import baseRest from './_baseRest.js';
/**
* A `baseRest` alias which can be replaced with `identity` by module
* replacement plugins.
*
* @private
* @type {Function}
* @param {Function} func The function to apply a rest parameter to.
* @returns {Function} Returns the new function.
*/
const castRest = baseRest;
export default castRest;