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

5 lines
279 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
import _Array$from from "../../core-js/array/from";
import _isIterable from "../../core-js/is-iterable";
export default function _iterableToArray(iter) {
if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter);
}