Join Slack
Powered by
ty bro, i need read how extensions works in jvm
# intellij
o
Otek
04/30/2018, 5:09 PM
ty bro, i need read how extensions works in jvm
g
gildor
05/02/2018, 4:55 PM
Just check syntax of extensions in official docs
gildor
05/02/2018, 4:57 PM
Actually, you can use extension when it part of other class/object using
with(Strings) { "str".myExtension() }
But for you case just use top level extension or already existing Kotlin extension for replacement
2
Views
Open in Slack
Previous
Next