Filter an array in-place using fn and return the same array instance. This replaces the array contents with the filtered result.
fn
element type
array to filter in-place
predicate to determine which elements to keep
the same array instance after filtering
Filter an array in-place using
fnand return the same array instance. This replaces the array contents with the filtered result.