MCPcopy Create free account
hub / github.com/DeedMob/react-load-image / createArrayFromMixed

Function createArrayFromMixed

example/dist.js:14815–14823  ·  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(things) {

(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