Reference

isVoidHtmlElement

Returns true when an HTML tag is a void element that cannot have children.

Signature

function isVoidHtmlElement(tagName: string): boolean