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.

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

For non-JVM platforms, we omit support for resolving covariant types of declared dependencies.

Report a problem