Skip to content

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 ​

ParameterType
arrayT[]
compareFn?CompareFn<T>

Returns ​

void

MIT License