html.is-void-element
- description
- Whether an element has no end tag and no children (area, base, br, col, embed, hr, img, input, link, meta, source, track, wbr)
- type
Fn(name: String) -> Boolean
- expression
fn(name$0) => match $0 { "area" => true, "base" => true, "br" => true, "col" => true, "embed" => true, "hr" => true, "img" => true, "input" => true, "link" => true, "meta" => true, "source" => true, "track" => true, "wbr" => true, _ => false }- visibility
- public
html.is-void-element (project html, branch main, snapshot hd1kHQmQUtgayk-Y5Eo_pcQPlqiL8dHKKndnKtdm-KI) id: BBjRxD6D-TGWGNMuTyrX8akPMRYxr019mLnflLcmFDs content hash: IOsgqgcjw2NpdR_1BtKKHXM86HICkuHrRaedl6_eUFg