is-arrayish
Determines if an object can be used as an array
Last updated 7 years ago by qix .
MIT · Repository · Bugs · Original npm
$ cnpm install is-arrayish 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.3.2                                ...           latest (7 years ago)

2 Versions

  • 0.3.2                                ...           7 years ago
  • 0.2.1                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (8)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org