UNPKG

@babel/runtime

Version:

babel's modular runtime helpers

7 lines 492 B
import arrayWithoutHoles from "@babel/runtime/helpers/esm/arrayWithoutHoles"; import iterableToArray from "@babel/runtime/helpers/esm/iterableToArray"; import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; import nonIterableSpread from "@babel/runtime/helpers/esm/nonIterableSpread"; export default function _toConsumableArray(arr) { return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); }