isParagraph property

bool isParagraph

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

Implementation

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