kotest-mpp / io.kotest.mpp / kotlin.Function

Extensions for kotlin.Function

paramNames

Returns the names of the parameters if supported. Eg, for fun foo(a: String, b: Boolean) on the JVM it would return a,b and on unsupported platforms an empty list.

val Function<*>.paramNames: List<String>