CollectionUtilities.IsNullOrEmpty<T>(IEnumerable<T>) Method

Definition

Checks whether enumerable is null or empty.

public static bool IsNullOrEmpty<T> (this System.Collections.Generic.IEnumerable<T> enumerable);
static member IsNullOrEmpty : seq<'T> -> bool
<Extension()>
Public Function IsNullOrEmpty(Of T) (enumerable As IEnumerable(Of T)) As Boolean

Type Parameters

T

The type of the enumerable.

Parameters

enumerable
IEnumerable<T>

The IEnumerable<T> to be checked.

Returns

Boolean

True if enumerable is null or empty, false otherwise.

Applies to