Method XmlNode():hasParent() Foundation
Determines whether a parent node is defined.
:hasParent() --> lHasParent
:hasParent() returns a logical value which specifies whether the XmlNode() object is a child node. If the node object has a parent node, return is .T. (true). Otherwise, the value .F. (false) is returned.
The method :hasParent() determines whether a node object has a parent node. In this case, the node object represents a child node. In order to determine whether a node object is a parent node, the method :hasChilds() may be used.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.