ts-ds / SortFunction
Type Alias: SortFunction<T>
ts
type SortFunction<T> = (array, compareFn?) => void;Defined in: trace/trace.ts:60
Any function that sorts an array in place, optionally with a comparator.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
array | T[] |
compareFn? | CompareFn<T> |
Returns
void