parentNode property

Node? parentNode
getter/setter pair

The parent of the current node (or null for the document node).

Implementation

Node? parentNode;