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
/
esm5
/
internal
/
util
/
isIterable.js
6 lines
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
import
{ iterator
as
Symbol
_iterator }
from
'../symbol/iterator'
;
import
{ isFunction }
from
'./isFunction'
;
export
function
isIterable
(
input
) {
return
isFunction
(input ===
null
|| input ===
void
0
?
void
0
: input[
Symbol
_iterator]); }
//# sourceMappingURL=isIterable.js.map