simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

toConsumableArray.js (404B)


      1 import arrayWithoutHoles from "./arrayWithoutHoles.js";
      2 import iterableToArray from "./iterableToArray.js";
      3 import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
      4 import nonIterableSpread from "./nonIterableSpread.js";
      5 export default function _toConsumableArray(arr) {
      6   return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
      7 }