filter enum opposite code example Example: enum reject Enum.reject([1, 2, 3], fn x -> rem(x, 2) == 0 end) [1, 3]