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

Function onlyChild

examples/bundle.js:4678–4681  ·  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.85

Tested by

no test coverage detected