source: trip-planner-front/node_modules/is-arrayish/README.md@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 704 bytes
Line 
1# node-is-arrayish [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-is-arrayish.svg?style=flat-square)](https://travis-ci.org/Qix-/node-is-arrayish) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-is-arrayish.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-is-arrayish)
2> Determines if an object can be used like an Array
3
4## Example
5```javascript
6var isArrayish = require('is-arrayish');
7
8isArrayish([]); // true
9isArrayish({__proto__: []}); // true
10isArrayish({}); // false
11isArrayish({length:10}); // false
12```
13
14## License
15Licensed under the [MIT License](http://opensource.org/licenses/MIT).
16You can find a copy of it in [LICENSE](LICENSE).
Note: See TracBrowser for help on using the repository browser.