isParagraph property

bool get isParagraph

is true, iff the node is an "p" node

Implementation

bool get isParagraph {
  return parent!.startTagName == "p";
}