Preject filters the source pattern using func. Values for which func returns true will not be returned by Preject.
This is the pattern library's equivalent of Collection: -reject.
func |
A Function. The function used to reject values. It should take a single parameter (the next value from |
pattern |
The Pattern to be filtered. |
The message reject returns a Preject when passed to a pattern