← Docs
kotlin-stdlib / kotlin.reflect / KClass / isData

isData

JVM
1.1
abstract val isData : Boolean
(source)

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .