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

7 lines
224 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
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 _ };