Update isArrayLike.md
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
### isArrayLike
|
||||
|
||||
Checks if the provided argument is `arrayLike` i.e. is iterable.
|
||||
Checks if the provided argument is array-like (i.e. is iterable).
|
||||
|
||||
Use `Array.from()` and a `try... catch` block to check if the provided argument is array-like.
|
||||
|
||||
```js
|
||||
const arr = (arr) => {
|
||||
|
||||
Reference in New Issue
Block a user