Returns the closest ancestor node of type T, or null if no such ancestor is found.
Generic type argument
The closest ancestor node.
Determines whether this instance is a descendant of the specified node. Note: A node is not considered a descendant of itself.
The potential ancestor node.
true if this instance is a descendant of the specified node; otherwise, false.
An interface which declares methods for accessing the context of a node.
Since
2.0