TypeUtilities.

AcceptsNull(Type) Method

Summary

Returns a value indicating whether null can be assigned to the specified type.
Namespace
Avalonia.Utilities
Containing Type
TypeUtilities

Syntax

public static bool AcceptsNull(Type type)

Parameters

Name Type Description
type Type The type.

Return Value

Type Description
bool True if the type accepts null values; otherwise false.