Hi all. I'm just getting started with Kotlin and w...
# getting-started
m
Hi all. I'm just getting started with Kotlin and with the documentation. Given these two statements
val divBy: (x: Int) -> Boolean = { x -> x % 42 == 0 }
and
val divBy = { x: Int -> x % 42 == 0 }
which seem to be equivalent to me... what's the significance of the colon (or equal sign) after the divBy?