Created
June 6, 2018 09:32
-
-
Save sajjadyousefnia/0392700aeee703e06cff1b203d8e66bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val strLenThree = stringList.last( fun(string): Boolean { | |
return string.length == 3 | |
}) | |
print(strLenThree) // will print "the" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment