| Int |
foo()See that |
| Unit |
sample() |
fun foo(): Int
See that inline code here
Some full code-block
println(foo()) // Prints 42
println(foo() - 10) // Prints 32
Some indented code-block fun ref() = foo() val a = 2
println(foo()) // Answer unlimate question of all
println(foo() * 2) // 84!
fun sample(): Unit