This is the inverted filter function:
val numbers = listOf(1, 2, 3, 4, 5)
val largerThan3 = numbers.filterNot { n -> n < 3 }
The resulting list has [4, 5].
This is the inverted filter function:
val numbers = listOf(1, 2, 3, 4, 5)
val largerThan3 = numbers.filterNot { n -> n < 3 }
The resulting list has [4, 5].
3.138.123.106