'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); };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.editorconfig | File | 264 B | 0644 |
|
.istanbul.yml | File | 59 B | 0644 |
|
.npmignore | File | 52 B | 0644 |
|
.travis.yml | File | 988 B | 0644 |
|
LICENSE | File | 1.05 KB | 0644 |
|
README.md | File | 704 B | 0644 |
|
index.js | File | 204 B | 0644 |
|
package.json | File | 705 B | 0644 |
|