securityos/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs

9 lines
257 B
JavaScript

"use strict";
exports._ = exports._iterable_to_array = _iterable_to_array;
function _iterable_to_array(iter) {
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
return Array.from(iter);
}
}