isMappedElement method

bool isMappedElement(
  1. T? element
)

Returns true if element is mapped by this instance.

Implementation

bool isMappedElement(T? element) {
  if (element == null) return false;
  return _elementToDOMNodeMap.containsKey(element);
}