Method IsEmpty
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
IsEmpty<T>(ICollection<T>)
Returns whether the collection is empty.
public static bool IsEmpty<T>(this ICollection<T> collection)
Parameters
collectionICollection<T>The collection to check.
Returns
Type Parameters
TThe type of elements in the collection.