7 lines
224 B
JavaScript
7 lines
224 B
JavaScript
|
export function _iterable_to_array(iter) {
|
||
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
||
|
return Array.from(iter);
|
||
|
}
|
||
|
}
|
||
|
export { _iterable_to_array as _ };
|