MCPcopy Create free account
hub / github.com/Huxpro/js-module-7day / createArrayFromMixed

Function createArrayFromMixed

example/webpack-es6-react/bundle.js:8049–8057  ·  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.70

Calls 2

hasArrayNatureFunction · 0.70
toArrayFunction · 0.70

Tested by

no test coverage detected