MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / _iterableToArray

Function _iterableToArray

chapter18/docs/d3-graphviz.js:42–44  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

40 }) : e[r] = t, e;
41 }
42 function _iterableToArray(r) {
43 if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
44 }
45 function _nonIterableSpread() {
46 throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
47 }

Callers 1

_toConsumableArrayFunction · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected