Vika a1fdb9607d hw react2 | 3 gadi atpakaļ | |
---|---|---|
.. | ||
.editorconfig | 3 gadi atpakaļ | |
.istanbul.yml | 3 gadi atpakaļ | |
.npmignore | 3 gadi atpakaļ | |
.travis.yml | 3 gadi atpakaļ | |
LICENSE | 3 gadi atpakaļ | |
README.md | 3 gadi atpakaļ | |
index.js | 3 gadi atpakaļ | |
package.json | 3 gadi 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.