Apply extension function to several types at once in Kotlin

754 Views Asked by At

Is it possible to apply an extensions function to several types at once? Something link this

fun <Double || Float>.toString(): String
0

There are 0 best solutions below