FrontPastel/node_modules/is-arrayish
NataliaCancinoV aa2823eee5 Primer commit 2024-04-17 07:55:11 -06:00
..
.editorconfig Primer commit 2024-04-17 07:55:11 -06:00
.istanbul.yml Primer commit 2024-04-17 07:55:11 -06:00
.npmignore Primer commit 2024-04-17 07:55:11 -06:00
.travis.yml Primer commit 2024-04-17 07:55:11 -06:00
LICENSE Primer commit 2024-04-17 07:55:11 -06:00
README.md Primer commit 2024-04-17 07:55:11 -06:00
index.js Primer commit 2024-04-17 07:55:11 -06:00
package.json Primer commit 2024-04-17 07:55:11 -06:00

README.md

node-is-arrayish Travis-CI.org Build Status Coveralls.io Coverage Rating

Determines if an object can be used like an Array

Example

var isArrayish = require('is-arrayish');

isArrayish([]); // true
isArrayish({__proto__: []}); // true
isArrayish({}); // false
isArrayish({length:10}); // false

License

Licensed under the MIT License. You can find a copy of it in LICENSE.