isVoid function

bool isVoid(
  1. Node? node
)

Implementation

bool isVoid(dom.Node? node) {
  return _kVoidElements.contains(_asElement(node)?.localName?.toLowerCase());
}