Hello! Can I check object for having 'times' funct...
# android
p
Hello! Can I check object for having 'times' function?
Copy code
<T>fun T.superTimes(t : T) : T = if (this.haveTimes()) this.times(t)) else throw Exception("times function missed")