odin-js-fundamentals-part-5/node_modules/is-arrayish
NetMan 4c89a8ee8c Initial commit 2024-01-11 09:52:05 +01:00
..
.editorconfig Initial commit 2024-01-11 09:52:05 +01:00
.istanbul.yml Initial commit 2024-01-11 09:52:05 +01:00
.npmignore Initial commit 2024-01-11 09:52:05 +01:00
.travis.yml Initial commit 2024-01-11 09:52:05 +01:00
LICENSE Initial commit 2024-01-11 09:52:05 +01:00
README.md Initial commit 2024-01-11 09:52:05 +01:00
index.js Initial commit 2024-01-11 09:52:05 +01:00
package.json Initial commit 2024-01-11 09:52:05 +01: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.