is_self_closing Callableis_self_closing(node: Element): booleanCheck if a node is self closed or not (<hr />, <input ... />, <foo />)Parametersnode: ElementReturns boolean
Check if a node is self closed or not (
<hr />, <input ... />, <foo />
)