wishthis/node_modules/is-arrayish
2022-04-08 12:55:35 +02:00
..
.editorconfig Add production dependencies 2022-01-21 09:28:41 +01:00
.istanbul.yml Add production dependencies 2022-01-21 09:28:41 +01:00
.npmignore Add production dependencies 2022-01-21 09:28:41 +01:00
.travis.yml Add production dependencies 2022-01-21 09:28:41 +01:00
index.js Add production dependencies 2022-01-21 09:28:41 +01:00
LICENSE Add production dependencies 2022-01-21 09:28:41 +01:00
package.json Install yarn 2022-04-08 12:55:35 +02:00
README.md Add production dependencies 2022-01-21 09:28:41 +01:00

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.