def get_resolution()

in src/h3/api/numpy_int/__init__.py [0:0]


def get_resolution(h):
    """
    Return the resolution of an H3 cell.

    Parameters
    ----------
    h : H3Cell

    Returns
    -------
    int
    """
    # todo: could also work for edges
    h = _in_scalar(h)
    return _cy.get_resolution(h)