is_void_node Callableis_void_node(node: Element): booleanCheck if a node is a void element. A void element is an element which can't have any content@seeHTML specParametersnode: ElementReturns boolean
Check if a node is a void element. A void element is an element which can't have any content
HTML spec