Join Slack
Powered by
Hey! Is it possible to get the class of a function...
# announcements
n
nyxcode
08/03/2017, 12:30 PM
Hey! Is it possible to get the class of a function? This
val clazz = ((Int) -> Int)::class
does not work...
d
diesieben07
08/03/2017, 12:32 PM
FunctionN::class
works, where
N
is the arity.
n
nyxcode
08/03/2017, 12:34 PM
wow.. it does! Thanks!
Open in Slack
Previous
Next