def _in_collection()

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


def _in_collection(x):
    import numpy as np
    # array is copied only if dtype does not match
    # `list`s should work, but not `set`s of integers
    return np.asarray(x, dtype='uint64')