s2js
    Preparing search index...

    Function commonAncestorLevel

    • Returns the level of the common ancestor of the two S2 CellIDs.

      Parameters

      • ci: bigint
      • other: bigint

      Returns [number, boolean]