kotlin / 1.9 / api / latest / jvm / stdlib / kotlin.reflect / -k-class / is-data.html

isData

Platform and version requirements: JVM (1.1)
abstract val isData: Boolean

true if this class or object has the data keyword. For more information, see data class and data object in the Kotlin language documentation.

© 2010–2023 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/is-data.html