MCPcopy Create free account
hub / github.com/ElyaConrad/Monopoly / arrayify

Function arrayify

web/js/cli-browser.js:797–810  ·  view source on GitHub ↗

* Takes any input and guarantees an array back. * * - converts array-like objects (e.g. `arguments`) to a real array * - converts `undefined` to an empty array * - converts any another other, singular value (including `null`) into an array containing that value * - ignores input which is alread

(input)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

loadMethod · 0.85
fromMethod · 0.85
containsValidGroupFunction · 0.85
resetToDefaultMethod · 0.85
toObjectMethod · 0.85
findReplaceFunction · 0.85
testValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected