Sha256: 5044ac960fa6bee1a74bffb1aaf6ddcbf3ec7f957ee1c36542c098bb50c20201
Contents?: true
Size: 768 Bytes
Versions: 30
Compression:
Stored size: 768 Bytes
Contents
import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
Version data entries
30 entries across 30 versions & 3 rubygems