SHARE
TWEET

Untitled

a guest Jan 12th, 2017 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fun lookForAlice(people: List<Person>) {
  2.     people.forEach(fun (person) {
  3.         if (person.name == "Alice") return      
  4.         println("${person.name} is not Alice")
  5.     })
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top