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