H5-ThreeDoorder/node_modules/is-arrayish
whitechiina 361f444663 updata 2025-03-28 14:06:25 +08:00
..
.editorconfig updata 2025-03-28 14:06:25 +08:00
.istanbul.yml updata 2025-03-28 14:06:25 +08:00
.npmignore updata 2025-03-28 14:06:25 +08:00
.travis.yml updata 2025-03-28 14:06:25 +08:00
LICENSE updata 2025-03-28 14:06:25 +08:00
README.md updata 2025-03-28 14:06:25 +08:00
index.js updata 2025-03-28 14:06:25 +08:00
package.json updata 2025-03-28 14:06:25 +08: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.