Extensions.IsInAscendingOrder<TElement> Method

Definition

public static bool IsInAscendingOrder<TElement> (this System.Collections.Generic.IEnumerable<TElement> enumerable, System.Collections.Generic.IComparer<TElement> comparer = default);
static member IsInAscendingOrder : seq<'Element> * System.Collections.Generic.IComparer<'Element> -> bool
<Extension()>
Public Function IsInAscendingOrder(Of TElement) (enumerable As IEnumerable(Of TElement), Optional comparer As IComparer(Of TElement) = Nothing) As Boolean

Type Parameters

TElement

Parameters

enumerable
IEnumerable<TElement>
comparer
IComparer<TElement>

Returns

Boolean

Applies to