Empties element children nodes. Also performs on mapped DOMNode.
element
bool emptyByElement(T? element) => emptyByDOMNode(getMappedDOMNode(element));