KoNullableTypeProvider

An interface representing a Kotlin declaration that provides access to the nullable type information.

Inheritors

Properties

Link copied to clipboard
abstract val type: KoTypeDeclaration?

Declaration type.

Functions

Link copied to clipboard
abstract fun hasType(predicate: (KoTypeDeclaration) -> Boolean? = null): Boolean

Whether declaration has a specified type.

Link copied to clipboard
abstract fun hasTypeOf(kClass: KClass<*>): Boolean

Whether declaration has a type of the specified Kotlin class.