UNPKG
cli-legend
Version:
latest (1.0.0)
1.0.0
"A fun command-line rogurelike dungeon game"
github.com/SamparkBhol/roguemaze
SamparkBhol/roguemaze
cli-legend
/
RogueMaze
/
node_modules
/
rxjs
/
dist
/
esm
/
internal
/
util
/
isAsyncIterable.js
5 lines
•
247 B
JavaScript
View Raw
1
2
3
4
5
import
{ isFunction }
from
'./isFunction'
;
export
function
isAsyncIterable
(
obj
) {
return
Symbol
.
asyncIterator
&&
isFunction
(obj ===
null
|| obj ===
void
0
?
void
0
: obj[
Symbol
.
asyncIterator
]); }
//# sourceMappingURL=isAsyncIterable.js.map