TypeCheckFunctionsExtensions.IsNull(Object) Method

Definition

Determines if a certain property is null or not.

public static bool IsNull (this object obj);
static member IsNull : obj -> bool
<Extension()>
Public Function IsNull (obj As Object) As Boolean

Parameters

obj
Object

Returns

Returns true if this property is null otherwise returns false.

Examples

var isNullQuery = documents.Where(document => document.Name.IsNull());

Applies to