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

3 lines
179 B
JavaScript
Raw Normal View History

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