Lazily filters the given range based on the given predicate.
a range containing only elements for which the predicate returns true
enum a = [1, 2, 3, 4].staticArray; enum result = a[].filter!(e => e > 2); enum expected = [3, 4].staticArray; static assert(result.equal(expected[]));
See Implementation
Lazily filters the given range based on the given predicate.