simpleName

expect abstract val simpleName: String?(source)

The simple name of the class as it was declared in the source code, or null if the class has no name (if, for example, it is a class of an anonymous object).

Since Kotlin

1.0
actual abstract val simpleName: String?(source)

The simple name of the class as it was declared in the source code, or null if the class has no name (if, for example, it is a class of an anonymous object).

Since Kotlin

1.1
actual abstract val simpleName: String?(source)

The simple name of the class as it was declared in the source code, or null if the class has no name (if, for example, it is a class of an anonymous object).

Since Kotlin

1.0
actual abstract val simpleName: String?(source)

The simple name of the class as it was declared in the source code, or null if the class has no name (if, for example, it is a class of an anonymous object).

Since Kotlin

1.3
actual abstract val simpleName: String?(source)

The simple name of the class as it was declared in the source code, or null if the class has no name (if, for example, it is a class of an anonymous object).

Since Kotlin

1.8
actual abstract val simpleName: String?(source)

The simple name of the class as it was declared in the source code, or null if the class has no name (if, for example, it is a class of an anonymous object).

Since Kotlin

1.8