CollectionExtensions.IsNullOrEmpty Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

IsNullOrEmpty(IEnumerable)

Indicates whether the specified generic collection is null or empty.

public static bool IsNullOrEmpty<T>(this IEnumerable<T> enumerable)

Parameters

enumerable
System.Collections.Generic.IEnumerable<>

The collection to check.

Returns

bool

true if the collection is null or empty; otherwise, false.