Is it possible to have an operator function like ...
# getting-started
a
Is it possible to have an operator function like
val someProperty: SomeClass = 50%
?
h
It probably won't take % symbol
a
The operator function requires a singular param, and there aren't defaults available either, so I guess it isn't possible.
p
Might be vaguely possible in some future version: https://youtrack.jetbrains.com/issue/KT-44409#focus=Comments-27-5841307.0-0