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

Function onlyChild

example/webpack/bundle.js:20430–20436  ·  view source on GitHub ↗

* Returns the first child in a collection of children and verifies that there * is only one child in the collection. The current implementation of this * function assumes that a single child gets passed without a wrapper, but the * purpose of this helper function is to abstract away the partic

(children)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

invariantFunction · 0.70

Tested by

no test coverage detected