aztec-nr - protocol_types::utils::arrays

Function find_index_hint

pub unconstrained fn find_index_hint<T, let N: u32, Env>(
    array: [T; N],
    find: fn[Env](T) -> bool,
) -> Option<u32>