LendAndRegret/node_modules/is-arrayish
2026-05-02 17:27:43 +08:00
..
.editorconfig feat: 初始化模组 2026-05-02 17:27:43 +08:00
.istanbul.yml feat: 初始化模组 2026-05-02 17:27:43 +08:00
.npmignore feat: 初始化模组 2026-05-02 17:27:43 +08:00
.travis.yml feat: 初始化模组 2026-05-02 17:27:43 +08:00
index.js feat: 初始化模组 2026-05-02 17:27:43 +08:00
LICENSE feat: 初始化模组 2026-05-02 17:27:43 +08:00
package.json feat: 初始化模组 2026-05-02 17:27:43 +08:00
README.md feat: 初始化模组 2026-05-02 17:27:43 +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.