UNPKG
tstruct
Version:
latest (0.1.0)
0.1.0
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Data structures & basic algorithms library
github.com/powerofsoul/tstruct
powerofsoul/tstruct
tstruct
/
dist
/
CompareFunction.d.ts
4 lines
(3 loc)
•
223 B
TypeScript
View Raw
1
2
3
4
export
declare
type
CompareFunctionType
<T> =
(
a
: T,
b
: T
) =>
1
|
0
| -
1
;
export
declare
const
descendingCompareFunction
:
CompareFunctionType
<
any
>;
export
declare
const
ascendingCompareFunction
:
CompareFunctionType
<
any
>;