Kotlin Lambda as parameter to filter function


Example

val allowedUsers = users.filter { it.age > MINIMUM_AGE }