isNullable
Checks if a type is nullable.
For example, isNullable<String?>()
returns true
while isNullable<String>()
returns false
.
This is particularly useful for determining whether a reified generic type is nullable.
Checks if a type is nullable.
For example, isNullable<String?>()
returns true
while isNullable<String>()
returns false
.
This is particularly useful for determining whether a reified generic type is nullable.