aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/builtin/iterableToArray.js
blob: e917e57937bff6db41a922958379dce3a30bb448 (plain)
1
2
3
4
5
function _iterableToArray(iter) {
  if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
}

module.exports = _iterableToArray;