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

9 lines
257 B
JavaScript
Raw Permalink Normal View History

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