Skip to content

Instantly share code, notes, and snippets.

@sliskiCode
Created November 5, 2016 14:06
Show Gist options
  • Save sliskiCode/784a17c2fe8fde4a7a0497e83ad16e7b to your computer and use it in GitHub Desktop.
Save sliskiCode/784a17c2fe8fde4a7a0497e83ad16e7b to your computer and use it in GitHub Desktop.
Quick dive in Kotlin extensions 4
val collection = listOf("Piotr", "Slesarew")
collection.reversed()
.forEach(::println)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment