CollectionConstraint.IsEmpty(IEnumerable) Method

Definition

Determines whether the specified enumerable is empty.

protected static bool IsEmpty (System.Collections.IEnumerable enumerable);
static member IsEmpty : System.Collections.IEnumerable -> bool

Parameters

enumerable
IEnumerable

The enumerable.

Returns

true if the specified enumerable is empty; otherwise, false.

Applies to