Update snippet descriptions
This commit is contained in:
@ -8,7 +8,8 @@ Checks if the provided argument is array-like (i.e. is iterable).
|
||||
- Check if the provided argument is not `null` and that its `Symbol.iterator` property is a function.
|
||||
|
||||
```js
|
||||
const isArrayLike = obj => obj != null && typeof obj[Symbol.iterator] === 'function';
|
||||
const isArrayLike = obj =>
|
||||
obj != null && typeof obj[Symbol.iterator] === 'function';
|
||||
```
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user