Join Slack
Communities
Powered by
Alternatively, you can create top-level functions ...
# getting-started
o
orangy
10/05/2016, 2:13 PM
Alternatively, you can create top-level functions with the same name:
fun Vec2(x: Int, y:Int) = Vec2(x.toFloat(), y.toFloat())
Open in Slack
Previous
Next