Class XCollection
Extension methods for ICollection and ICollection{T}.
Inheritance
System.Object
XCollection
Namespace: Galaxon.Core.Collections
Assembly: Galaxon.Core.dll
Syntax
public static class XCollection : object
Methods
IsEmpty(Nullable<ICollection>)
Check if an ICollection (array, list, etc.) is null or empty.
Declaration
public static bool IsEmpty(this ICollection? collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<ICollection> | collection |
Returns
| Type | Description |
|---|---|
| System.Boolean |