I know but I am saying that Arrays::filter is filter that its an array and a certain length, a parameter could be added to check that each member is also a certain type. Also that ::filter method could be what does the bounds check and not the allowEmpty in here since its redundant, but nothing wrong with a little redundancy if it really makes its usage nice..