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

Function _nonIterableSpread

chapter18/docs/d3-graphviz.js:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }
48 function _toConsumableArray(r) {
49 return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
50 }

Callers 1

_toConsumableArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected