Skip to main content

_idx_in_bounds

Function _idx_in_bounds 

Source
pub fn _idx_in_bounds(idx: &[u32], len: usize) -> bool
Available on crate feature algorithm_group_by only.
Expand description

Whether every index in idx is below len.

A group can repeat an index, so idx.len() can exceed len.