EnumerableExtensions.IsSingle<T>(IEnumerable<T>) Method
Determines whether the specified IEnumerable<T>
collection contains only one element.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
public static bool IsSingle<T>(
this IEnumerable<T> source
)
Parameters
Name | Type | Description |
---|---|---|
source | IEnumerable<T> | The source item collection. |
Type Parameters
Name | Description |
---|---|
T | The type of elements stored in the source collection. |
Returns
Type | Description |
---|---|
Boolean |
|
See Also