MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeITypeIs­Nullable
Open sandboxFocus

IType.IsNullable Property

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>