isBlank property

bool isBlank

Implementation

bool get isBlank {
  return ['a', 'th', 'td'].contains(nodeName) &&
      RegExp(r'^\s*$', caseSensitive: false).hasMatch(textContent) &&
      !util.isVoid(_el) &&
      !util.hasVoid(_el);
}