W3cubDocs

/Kotlin

functions

val KClass<*>.functions: Collection<KFunction<*>>

Platform and version requirements: Kotlin 1.1, JVM

Returns all functions declared in this class, including all non-static methods declared in the class and the superclasses, as well as static methods declared in the class.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/functions.html