TypeUtilitiesAcceptsNullT Method

Returns a value indicating whether null can be assigned to the specified type.

Definition

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool AcceptsNull<T>()

Type Parameters

T
The type

Return Value

Boolean
True if the type accepts null values; otherwise false.

See Also