Lambda passed as a variable

suggest change
val isOfAllowedAge = { user: User -> user.age > MINIMUM_AGE }
val allowedUsers = users.filter(isOfAllowedAge)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents