MCPcopy
hub / github.com/webpack/webpack / body

Function body

test/buildHtmlAst.unittest.js:34–37  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

32 * @returns {import("../lib/html/syntax").HtmlElement[]} body children
33 */
34const body = (src) =>
35 /** @type {import("../lib/html/syntax").HtmlElement[]} */ (
36 child(html(src).children, "body").children
37 );
38/**
39 * @param {string} src source
40 * @returns {import("../lib/html/syntax").HtmlElement[]} head children

Callers 1

Calls 2

childFunction · 0.85
htmlFunction · 0.85

Tested by

no test coverage detected