MCPcopy Create free account
hub / github.com/breck7/scroll / arrayify

Function arrayify

external/.d3.js:246–248  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

244}
245
246function arrayify(values) {
247 return typeof values !== "object" || "length" in values ? values : Array.from(values);
248}
249
250function reducer(reduce) {
251 return values => reduce(...values);

Callers

nothing calls this directly

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected