Bakhtina Sofya b84cb877be 1st comm | 2 minggu lalu | |
---|---|---|
.. | ||
.editorconfig | 2 minggu lalu | |
.istanbul.yml | 2 minggu lalu | |
.npmignore | 2 minggu lalu | |
.travis.yml | 2 minggu lalu | |
LICENSE | 2 minggu lalu | |
README.md | 2 minggu lalu | |
index.js | 2 minggu lalu | |
package.json | 2 minggu lalu |
Determines if an object can be used like an Array
var isArrayish = require('is-arrayish');
isArrayish([]); // true
isArrayish({__proto__: []}); // true
isArrayish({}); // false
isArrayish({length:10}); // false
Licensed under the MIT License. You can find a copy of it in LICENSE.