You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
348 B
JavaScript
15 lines
348 B
JavaScript
5 years ago
|
var baseRest = require('./_baseRest');
|
||
|
|
||
|
/**
|
||
|
* 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.
|
||
|
*/
|
||
|
var castRest = baseRest;
|
||
|
|
||
|
module.exports = castRest;
|