Reluctant kotlin newbie here.
Is there an kotlin equivalent of ?: java operator?
I tried searching on google. Most results talk about ?: (elvis operator) in kotlin.
Looking for a way to write this in kotlin:
//java example
//return condition ? a : b;