Table of Contents

Method Less

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

Less<T>(IComparer<T>, T, T)

Returns true if a is less than b according to the comparer.

public static bool Less<T>(this IComparer<T> comparer, T a, T b)

Parameters

comparer IComparer<T>

The comparer to use.

a T

The first value.

b T

The second value.

Returns

bool

true if a is less than b; otherwise, false.

Type Parameters

T

The type being compared.