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 System.Nullable<> type. Note that in case of nullable value types, the current type represents the System.Nullable<> type itself, and the inner value type is exposed as UnderlyingType.

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