is-arrayish (0.2.1)
Published 2026-02-24 13:58:16 +00:00 by atheaadmin
Installation
registry=npm install is-arrayish@0.2.1"is-arrayish": "0.2.1"About this package
node-is-arrayish

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.
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| coffee-script | ^1.9.3 |
| coveralls | ^2.11.2 |
| istanbul | ^0.3.17 |
| mocha | ^2.2.5 |
| should | ^7.0.1 |
| xo | ^0.6.1 |
Keywords
is
array
duck
type
arrayish
similar
proto
prototype
type