fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 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