UNPKG
@prelude/cmp
Version:
latest (4.2.0)
4.2.0
4.1.0
4.0.0
3.0.0
2.0.0
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.2
Cmp module.
@prelude/cmp
/
mjs
/
of-gt.d.ts
5 lines
(4 loc)
•
200 B
TypeScript
View Raw
1
2
3
4
5
import
{
type
R }
from
'./prelude.js'
;
/**
@returns
comparision function from greater-than function. */
declare
const
ofGt
: <T>
(
gt
: (a: T, b: T) =>
boolean
) =>
(
a
: T,
b
: T
) =>
R;
export
default
ofGt;