For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
congruent
congruent(a: IntTuple, b: IntTuple) -> Bool
Test if two IntTuples have the same hierarchical structure.
This function checks if two IntTuples have identical nesting patterns,
regardless of the actual integer values they contain.
Args:
Returns:
Bool: True if both IntTuples have the same hierarchical structure,
False otherwise.