MCPcopy Create free account
hub / github.com/microsoft/SandDance / arrayify

Function arrayify

docs/tests/v2/es6/js/sanddance.js:85257–85259  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

85255}
85256
85257function arrayify(values) {
85258 return typeof values !== "object" || "length" in values ? values : Array.from(values);
85259}
85260
85261function reducer(reduce) {
85262 return values => reduce(...values);

Callers

nothing calls this directly

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected