Skip to content

webshrine / stdtyp/src / FnCompare

Type Alias: FnCompare<Value>

FnCompare<Value>: FnParametrized<[Value, Value], -1 | 0 | 1>

Comparison function that returns -1 | 0 | 1 as result

Type Parameters

Value = any

Defined in

packages/stdtyp/src/utilities/fn.ts:102