UNPKG

346 BJavaScriptView Raw
1import baseRest from './_baseRest.js';
2
3/**
4 * A `baseRest` alias which can be replaced with `identity` by module
5 * replacement plugins.
6 *
7 * @private
8 * @type {Function}
9 * @param {Function} func The function to apply a rest parameter to.
10 * @returns {Function} Returns the new function.
11 */
12var castRest = baseRest;
13
14export default castRest;