itacart.hierarchy.contains
- itacart.hierarchy.contains(region, cell)[source]
Whether a compositional region covers a cell.
Complements
is_ancestor(), which only tests the vertical relation between two single cells. A region covers a cell when any of its terminal cells is that cell or an ancestor of it.Like
is_ancestor(), a predicate over index strings only.