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

paramNames

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

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.