Apply new format to snippets and template
This commit is contained in:
@ -5,7 +5,7 @@ tags: type,array,intermediate
|
||||
|
||||
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.
|
||||
- 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';
|
||||
|
||||
Reference in New Issue
Block a user