Package-level declarations

Functions

Link copied to clipboard
fun TypeInfo.hasTypeParameters(predicate: (KTypeParameter) -> Boolean = { true }): Boolean
Link copied to clipboard

Returns all types of the hierarchy, starting with the given type.

Returns all types of the hierarchy, starting with the given type.

This kind of reflection is currently only supported for the JVM platform.

Link copied to clipboard

Converts the current TypeInfo into a nullable type representation. If the type is already nullable, returns null.

Converts the current TypeInfo into a nullable type representation. If the type is already nullable, returns null.

This kind of reflection is currently only supported for the JVM platform.

Link copied to clipboard

Returns a list of the given base implementation for covariant type arguments.

Returns a list of the given base implementation for covariant type arguments.

This kind of reflection is currently only supported for the JVM platform.