mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 05:14:44 +00:00
.
This commit is contained in:
parent
00c3b50fca
commit
ae5dcb46c8
7331 changed files with 1784502 additions and 0 deletions
17
node_modules/lodash/_baseRest.js
generated
vendored
Normal file
17
node_modules/lodash/_baseRest.js
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
var identity = require('./identity'),
|
||||
overRest = require('./_overRest'),
|
||||
setToString = require('./_setToString');
|
||||
|
||||
/**
|
||||
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} func The function to apply a rest parameter to.
|
||||
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
||||
* @returns {Function} Returns the new function.
|
||||
*/
|
||||
function baseRest(func, start) {
|
||||
return setToString(overRest(func, start, identity), func + '');
|
||||
}
|
||||
|
||||
module.exports = baseRest;
|
Loading…
Add table
Add a link
Reference in a new issue