Yang Guo | 4fd355c | 2019-09-19 08:59:03 | [diff] [blame] | 1 | # node-is-arrayish [](https://travis-ci.org/Qix-/node-is-arrayish) [](https://coveralls.io/r/Qix-/node-is-arrayish) |
| 2 | > Determines if an object can be used like an Array |
| 3 | |
| 4 | ## Example |
| 5 | ```javascript |
| 6 | var isArrayish = require('is-arrayish'); |
| 7 | |
| 8 | isArrayish([]); // true |
| 9 | isArrayish({__proto__: []}); // true |
| 10 | isArrayish({}); // false |
| 11 | isArrayish({length:10}); // false |
| 12 | ``` |
| 13 | |
| 14 | ## License |
| 15 | Licensed under the [MIT License](http://opensource.org/licenses/MIT). |
| 16 | You can find a copy of it in [LICENSE](LICENSE). |