Skip to main content

is_ancestor

Function is_ancestor 

Source
pub fn is_ancestor(world: &World, ancestor: Entity, of: Entity) -> bool
Expand description

Whether ancestor occurs strictly above of. Traversal is cycle-safe.