fn collect_bool(
len: usize,
neg: bool,
f: impl Fn(usize) -> bool,
) -> BooleanBufferExpand description
Invokes f with values 0..len collecting the boolean results into a new BooleanBuffer
This is similar to [arrow_buffer::MutableBuffer::collect_bool] but with
the option to efficiently negate the result