Sign in
◑
Theme
apache
/
incubator-resilientdb-ResContract
/
a084c655c036190cede801cb760a3f93c25be3b2
/
.
/
node_modules
/
rxjs
/
src
/
internal
/
util
/
isAsyncIterable.ts
blob: d419dc370e88545fe8107ae81fd9c1b342f7efca [
file
]
import
{
isFunction
}
from
'./isFunction'
;
export
function
isAsyncIterable
<
T
>(
obj
:
any
):
obj
is
AsyncIterable
<
T
>
{
return
Symbol
.
asyncIterator
&&
isFunction
(
obj
?.[
Symbol
.
asyncIterator
]);
}