work.suroh.tk/node_modules/is-arrayish
suroh 410082595a init 11ty commit 2019-12-02 13:22:45 +01:00
..
.editorconfig init 11ty commit 2019-12-02 13:22:45 +01:00
.istanbul.yml init 11ty commit 2019-12-02 13:22:45 +01:00
.npmignore init 11ty commit 2019-12-02 13:22:45 +01:00
.travis.yml init 11ty commit 2019-12-02 13:22:45 +01:00
LICENSE init 11ty commit 2019-12-02 13:22:45 +01:00
README.md init 11ty commit 2019-12-02 13:22:45 +01:00
index.js init 11ty commit 2019-12-02 13:22:45 +01:00
package.json init 11ty commit 2019-12-02 13:22:45 +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.