W3cubDocs

/Kotlin

sealedSubclasses

Platform and version requirements: JVM (1.3)
abstract val sealedSubclasses: List<KClass<out T>>

The list of the immediate subclasses if this class is a sealed class, or an empty list otherwise.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/sealed-subclasses.html