Lib39/node_modules/is-arrayish
2026-02-20 14:47:24 +08:00
..
.editorconfig style: 引入cz 2026-02-20 14:47:24 +08:00
.istanbul.yml style: 引入cz 2026-02-20 14:47:24 +08:00
.npmignore style: 引入cz 2026-02-20 14:47:24 +08:00
.travis.yml style: 引入cz 2026-02-20 14:47:24 +08:00
index.js style: 引入cz 2026-02-20 14:47:24 +08:00
LICENSE style: 引入cz 2026-02-20 14:47:24 +08:00
package.json style: 引入cz 2026-02-20 14:47:24 +08:00
README.md style: 引入cz 2026-02-20 14:47:24 +08: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.