Comparer Interface
Signature
export interface Comparer<T>
Type Parameters
| Parameter | Description |
|---|---|
| T |
Properties
| Property | Type | Description |
|---|---|---|
| min | T |
Methods
| Method | Return Type | Description |
|---|---|---|
| compare(a, b) | number |
Property Details
min
Signature
min: T;
Type: T
Method Details
compare
Signature
compare(a: T, b: T): number;
Parameters
| Parameter | Type | Description |
|---|---|---|
| a | T | |
| b | T |
Returns
Return type: number