root 3bf41bf355 update | 1 gadu atpakaļ | |
---|---|---|
.. | ||
.editorconfig | 1 gadu atpakaļ | |
.istanbul.yml | 1 gadu atpakaļ | |
.npmignore | 1 gadu atpakaļ | |
.travis.yml | 1 gadu atpakaļ | |
LICENSE | 1 gadu atpakaļ | |
README.md | 1 gadu atpakaļ | |
index.js | 1 gadu atpakaļ | |
package.json | 1 gadu atpakaļ |
Determines if an object can be used like an Array
var isArrayish = require('is-arrayish');
isArrayish([]); // true
isArrayish({__proto__: []}); // true
isArrayish({}); // false
isArrayish({length:10}); // false
Licensed under the MIT License. You can find a copy of it in LICENSE.