MCPcopy
hub / github.com/webpack/webpack / head

Function head

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

Source from the content-addressed store, hash-verified

40 * @returns {import("../lib/html/syntax").HtmlElement[]} head children
41 */
42const head = (src) =>
43 /** @type {import("../lib/html/syntax").HtmlElement[]} */ (
44 child(html(src).children, "head").children
45 );
46
47/**
48 * @param {string} src source

Callers 1

Calls 2

childFunction · 0.85
htmlFunction · 0.85

Tested by

no test coverage detected