UNPKG
@prelude/array
Version:
latest (3.0.0)
3.0.0
2.3.1
2.3.0
2.2.0
2.1.0
2.0.0
1.0.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Array module.
@prelude/array
/
cjs
/
sorted.d.ts
4 lines
(3 loc)
•
130 B
TypeScript
View Raw
1
2
3
4
import
type
*
as
Cmp
from
'@prelude/cmp'
;
declare
const
sorted
: <T>
(
values
: T[],
cmp
:
Cmp
.t<T, T>
) =>
T[];
export
default
sorted;