MCPcopy Index your code
hub / github.com/TruthHun/BookStack / normalizeChildren

Function normalizeChildren

static/vuejs/vue.runtime.esm.js:1755–1761  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

1753// with hand-written render functions / JSX. In such cases a full normalization
1754// is needed to cater to all possible types of children values.
1755function normalizeChildren (children) {
1756 return isPrimitive(children)
1757 ? [createTextVNode(children)]
1758 : Array.isArray(children)
1759 ? normalizeArrayChildren(children)
1760 : undefined
1761}
1762
1763function normalizeArrayChildren (children, nestedIndex) {
1764 var res = [];

Callers 1

_createElementFunction · 0.70

Calls 3

isPrimitiveFunction · 0.70
createTextVNodeFunction · 0.70
normalizeArrayChildrenFunction · 0.70

Tested by

no test coverage detected