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 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.

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
Details
npm
2026-02-24 13:58:16 +00:00
1
Qix
MIT
latest
2.6 KiB
Assets (1)
Versions (1) View all
0.2.1 2026-02-24