forgeplus-react/node_modules/@babel/runtime/helpers/builtin/iterableToArray.js

5 lines
200 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}
module.exports = _iterableToArray;