Skip to main content

is_descendant_or_self

Function is_descendant_or_self 

Source
pub fn is_descendant_or_self(child: &Node, parent: &Node) -> bool
Expand description

Is child the same as parent, or a descendent of parent?