MCPcopy Create free account
hub / github.com/danizep/react-timeless / createArrayFromMixed

Function createArrayFromMixed

examples/bundle.js:20783–20791  ·  view source on GitHub ↗

* Ensure that the argument is an array by wrapping it in an array if it is not. * Creates a copy of the argument if it is already an array. * * This is mostly useful idiomatically: * * var createArrayFromMixed = require('createArrayFromMixed'); * * function takesOneOrMoreThings(thi

(obj)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createNodesFromMarkupFunction · 0.85

Calls 2

hasArrayNatureFunction · 0.85
toArrayFunction · 0.85

Tested by

no test coverage detected