has_parent_node Callablehas_parent_node(node: Node): node is Node & { parent: Node }Check if a node has a parent nodeParametersnode: NodeReturns node is Node & { parent: Node }
Check if a node has a parent node