Returns the parent object of the target node, or undefined if there's no parent.
Note that this function will throw if the passed object is not a node.
Parent object type.
Node to get the parent path from.
Returns the parent object of the target node, or undefined if there's no parent.
Note that this function will throw if the passed object is not a node.