What’s the correct name when you create a `fun Int...
# getting-started
g
What’s the correct name when you create a
fun Int.add(){}
. I’m trying to find docs about this approach but can’t find it.
m
why do you mean? are you trying to overload
+
?
g
no
that’s the example i wrote but could be
fun LocalDateTime.add(){}
I’m trying to look for documentation about creating a function utilizing the approach of
Class.funName()
m
oh..extension functions
👍 1
g
thats the name
extension functions
thanks