|
|
лет назад: 2 | |
|---|---|---|
| .. | ||
| .editorconfig | лет назад: 2 | |
| .npmignore | лет назад: 2 | |
| .travis.yml | лет назад: 2 | |
| LICENSE | лет назад: 2 | |
| README.md | лет назад: 2 | |
| index.js | лет назад: 2 | |
| package.json | лет назад: 2 | |
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.