|
пре 1 месец | |
---|---|---|
.. | ||
LICENSE | пре 1 месец | |
README.md | пре 1 месец | |
index.js | пре 1 месец | |
package.json | пре 1 месец | |
yarn-error.log | пре 1 месец |
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.