hasParent property

bool get hasParent

Returns true if this node has a parent.

Implementation

bool get hasParent {
  var nodeParent = domGenerator.getNodeParent(node);
  return nodeParent != null;
}