Check if given value is AsyncIterable.
AsyncIterable
Not to be confused with isAsynchronousIterable which checks for both AsyncIterable and Iterable.
isAsynchronousIterable
Iterable
isAsyncIterable((async function * () { yield* [] })()); // trueisAsyncIterable([]); // falseisAsyncIterable({}); // false
true when is an AsyncIterable, false otherwise.
true
false
Value to check.
Check if given value is
AsyncIterable
.Not to be confused with
isAsynchronousIterable
which checks for bothAsyncIterable
andIterable
.Example
Returns
true
when is anAsyncIterable
,false
otherwise.