Check if given value is AsynchronousIterable (either Iterable or AsyncIterable).
AsynchronousIterable
Iterable
AsyncIterable
Not to be confused with isAsyncIterable which only checks for AsyncIterable.
isAsyncIterable
isIterable([]); // trueisIterable({}); // false
true when is an AsynchronousIterable, false otherwise.
true
false
Value to check.
Check if given value is
AsynchronousIterable
(eitherIterable
orAsyncIterable
).Not to be confused with
isAsyncIterable
which only checks forAsyncIterable
.Example
Returns
true
when is anAsynchronousIterable
,false
otherwise.