Join Slack
Powered by
<@U0DLNDG9K>: `fun Math.cos(...)` would be an exte...
# announcements
m
mg6maciej
12/21/2015, 4:26 PM
@chase
:
fun Math.cos(...)
would be an extension function on
Math
objects. It would be
fun Math.Companion.cos(...)
if
Math
was a Kotlin class, but not sure about adding static functions to Java classes.
3
Views
Open in Slack
Previous
Next