Summary
Checks if enumerable is
or empty.
- Namespace
- StrideToolkit
.Collections - Containing Type
- EnumerableExtensions
Syntax
public static bool IsNullOrEmpty<T>(this IEnumerable<T> enumerable)
Type Parameters
Name | Description |
---|---|
T | The type of elements in the collection. |
Parameters
Name | Type | Description |
---|---|---|
enumerable | IEnumerable |
The IEnumerable<T> to check. |
Return Value
Type | Description |
---|---|
bool | Returns if enumerable is or empty, otherwise . |