mirror of
https://github.com/actions/setup-go.git
synced 2025-07-28 09:28:29 +02:00
Fix.
This commit is contained in:
parent
ffce9ce43f
commit
a966e84ff9
6749 changed files with 937822 additions and 460 deletions
10
node_modules/is-arrayish/index.js
generated
vendored
Normal file
10
node_modules/is-arrayish/index.js
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = function isArrayish(obj) {
|
||||
if (!obj) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return obj instanceof Array || Array.isArray(obj) ||
|
||||
(obj.length >= 0 && obj.splice instanceof Function);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue