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
/
cjs
/
locale.d.ts
4 lines
(3 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
/**
@returns
locale aware string comparision function. */
declare
const
locale
:
(
locales
?:
string
|
string
[] |
undefined
,
options
?:
Intl
.
CollatorOptions
|
undefined
) =>
(
a
:
string
,
b
:
string
) =>
import
(
"./prelude.js"
).
R
;
export
default
locale;