Method IsNullOrMissing

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

IsNullOrMissing(TField)

Tests whether a field is null or missing.

public static bool IsNullOrMissing<TField>(TField field)

Parameters

field TField

The field.

Returns

bool

true if the field is null or missing.

Type Parameters

TField

The type of the field.