MCPcopy
hub / github.com/webpack/webpack / childrenOf

Function childrenOf

lib/html/syntax.js:4700–4703  ·  view source on GitHub ↗
(parent)

Source from the content-addressed store, hash-verified

4698 * @returns {HtmlNode[]} children array to insert into
4699 */
4700 const childrenOf = (parent) =>
4701 parent.type === NodeType.Element && parent.templateContent
4702 ? parent.templateContent.children
4703 : parent.children;
4704
4705 const appendTo = (
4706 /** @type {HtmlElement | HtmlDocument | HtmlDocumentFragment} */ parent,

Callers 6

appendToFunction · 0.85
findParentFunction · 0.85
insertAtPlaceFunction · 0.85
insertCharactersFunction · 0.85
detachFunction · 0.85
[NodeType.Ident]Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected