diff --git a/snippets/isArrayLike.md b/snippets/isArrayLike.md index 2a5c9ad09..4230bd58d 100644 --- a/snippets/isArrayLike.md +++ b/snippets/isArrayLike.md @@ -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) => {