CollectionExtensions.HasItems Method

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

HasItems(IEnumerable)

Indicates whether the specified generic collection has any items.

public static bool HasItems(this IEnumerable enumerable)

Parameters

enumerable
System.Collections.Generic.IEnumerable{{T}}

Returns

System.Boolean

true if the collection has any elements; otherwise, false.