UNPKG
@tunnel-cast/tunnel-cast
Version:
beta (0.0.1)
latest (0.0.1)
0.0.1
<br>
@tunnel-cast/tunnel-cast
/
utils
/
is-iterable.js
8 lines
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
isIterable
=
void
0
;
function
isIterable
(
obj
) {
return
obj !=
null
&&
typeof
obj[
Symbol
.
iterator
] ===
"function"
; }
exports
.
isIterable
= isIterable;
//# sourceMappingURL=is-iterable.js.map