I have a lot of thoses in my code
somevale.get() ? somevale.get() : "my default value"
is there a way to simplify it, I would like the following syntax wich is equivalent to the version on top
somevale.get() ?: "my default value"
or at least something like
somevale.get() ? default: "my default value"
I know I could build it myself easyli
function check(value,default)
...
but I would like to avoid it. Is there any other option?