node/lodash/_castRest.js
raw| 1 | var baseRest = require('./_baseRest'); |
| 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 | */ |
| 12 | var castRest = baseRest; |
| 13 | |
| 14 | module.exports = castRest; |