Is it somehow possible to create an operator exten...
# getting-started
p
Is it somehow possible to create an operator extension function is the underlying Java class already defines the operator as a regular function (minus in this example):
operator fun SomeClass.minus(b: SomeClass) = minus(b)
d
It will just accept the Java method as an operator fun, even if it is not explicitly marked as such.
p
Thanks, didn't expect that so didn't even try 🙂