securityos/node_modules/@swc/helpers/esm/_iterable_to_array.js

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 _ };