|
|
před 2 roky | |
|---|---|---|
| .. | ||
| LICENSE | před 2 roky | |
| README.md | před 2 roky | |
| index.js | před 2 roky | |
| package.json | před 2 roky | |
| yarn-error.log | před 2 roky | |
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.