pub type Filter<'a> = Box<dyn Fn(&dyn Array) -> Box<dyn Array> + Send + Sync + 'a>;
compute_filter
Function that can filter arbitrary arrays