toNullable

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

Report a problem

Return

A new TypeInfo instance with a nullable type, or null if the type is already nullable.

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

Report a problem

Return

A new TypeInfo instance with a nullable type, or null if the type is already nullable.

Converts raw types without reflection. Converting kotlinType is only supported on the JVM platform.

Report a problem