Join Slack
Powered by
I can't get this snippet to work from the referenc...
# android
r
rdsr
07/06/2016, 5:04 AM
I can't get this snippet to work from the references... fun isOdd(x: Int) = x % 2 != 0 fun isOdd(s: String) = s == "brillig" || s == "slithy" || s == "tove" val numbers = listOf(1, 2, 3) println(numbers.filter(::isOdd))
Open in Slack
Previous
Next