itacart.boundary.is_triangular_cell

itacart.boundary.is_triangular_cell(cell)[source]

Whether a cell is a prime-meridian isosceles triangle.

Parameters:

cell (str) – Compositional index string.

Return type:

bool | list[bool]

Returns:

A boolean for a single cell, or a positionally aligned list.

Raises:

NonExistentCellError – If any cell of the index names no cell. The predicate is the arbiter and the contract ends there: a spelling it denies is refused rather than answered for the cell it would otherwise fold onto.