Skip to content

Instantly share code, notes, and snippets.

@cassiozen
Created November 28, 2018 22:55
Show Gist options
  • Save cassiozen/233c94c7f79bfcc176d74752b9131188 to your computer and use it in GitHub Desktop.
Save cassiozen/233c94c7f79bfcc176d74752b9131188 to your computer and use it in GitHub Desktop.
val carModels = cars.map { it.model }
val oldEnought = users.filter { it.age >= 21 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment