|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
704 bytes
|
| Line | |
|---|
| 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).
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.