Table of Contents

IsNullable Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/TypeDecoratorExtensions.cs

IsNullable(IDecorator<Type>)

Determines whether the underlying Type of the decorator is a nullable ValueType.

public static bool IsNullable(this IDecorator<Type> decorator)

Parameters

decorator IDecorator<Type>

The IDecorator<T> to extend.

Returns

bool

true if the underlying Type of the decorator is nullable; otherwise, false.

Exceptions

ArgumentNullException

decorator cannot be null.