MCPcopy Create free account
hub / github.com/WebReflection/neverland / _arrayWithoutHoles

Function _arrayWithoutHoles

index.js:10–12  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

8 }
9
10 function _arrayWithoutHoles(arr) {
11 if (Array.isArray(arr)) return _arrayLikeToArray(arr);
12 }
13
14 function _iterableToArray(iter) {
15 if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);

Callers 1

_toConsumableArrayFunction · 0.85

Calls 1

_arrayLikeToArrayFunction · 0.85

Tested by

no test coverage detected