Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun lookForAlice(people: List<Person>) {
- people.forEach(fun (person) {
- if (person.name == "Alice") return
- println("${person.name} is not Alice")
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement