EnumerableExt..::..IsNullOrEmpty<(Of <(<'T>)>)> Method

Determines whether a collection is null or has no elements without having to enumerate the entire collection to get a count. Uses LINQ.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static bool IsNullOrEmpty<T>(
	IList<T> items
)

Type Parameters

T
The item type.

Parameters

items
Type: IList<(Of <(<'T>)>)>
The items.

Return Value

true if this list is null or empty; otherwise, false.