Join Slack
Powered by
Does anybody know how to use an extension function...
# announcements
j
jire
01/03/2016, 6:48 AM
Does anybody know how to use an extension function like this?
operator fun <O> (KTON.() -> O).unaryPlus() { arrays.add(kton(this)) }
Reason being I want to change
arr {
to
+{
in my project:
https://github.com/Jire/KTON
Open in Slack
Previous
Next