Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Code / IType / Is­Nullable
Open sandbox

Property IsNullable

IsNullable

Gets the nullability of the type, or null if the type is a reference type but its nullability has not been analyzed or specified. This property returns false for normal value types and true for the Nullable<T> type. Note that in case of nullable value types, the current type represents the Nullable<T> type itself, and the inner value type is exposed as UnderlyingType.

Declaration
Nullable<bool> IsNullable { get; }
Property Value
Type Description
Nullable<Boolean>