Skip to main content

AcceptsNull<T> 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)

public static bool AcceptsNull<T>()

Type Parameters

The type

Return Value

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

See Also

Reference

TypeUtilities Class
AcceptsNull Overload
Avalonia.Utilities Namespace