mirror of
https://github.com/cachix/install-nix-action.git
synced 2025-06-08 09:54:28 +00:00
v6
This commit is contained in:
parent
cd5893b2c6
commit
70742d22d9
6774 changed files with 1602535 additions and 1 deletions
23
node_modules/lodash/stubArray.js
generated
vendored
Normal file
23
node_modules/lodash/stubArray.js
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* This method returns a new empty array.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.13.0
|
||||
* @category Util
|
||||
* @returns {Array} Returns the new empty array.
|
||||
* @example
|
||||
*
|
||||
* var arrays = _.times(2, _.stubArray);
|
||||
*
|
||||
* console.log(arrays);
|
||||
* // => [[], []]
|
||||
*
|
||||
* console.log(arrays[0] === arrays[1]);
|
||||
* // => false
|
||||
*/
|
||||
function stubArray() {
|
||||
return [];
|
||||
}
|
||||
|
||||
module.exports = stubArray;
|
Loading…
Add table
Add a link
Reference in a new issue