isData

abstract val isData: Boolean

true if this class is a data class. See the Kotlin language documentation for more information.

Since Kotlin

1.1