Search
Preparing search index...
The search index is not available
Compary
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Comparator"
External module "Comparator"
Index
Interfaces
Comparator
Functions
compare
natural
Order
Functions
compare
compare<T>
(
comparison
:
function
)
:
Comparator
<
T
>
Type parameters
T
Parameters
comparison:
function
(
a
:
T
, b
:
T
)
:
number
Parameters
a:
T
b:
T
Returns
number
Returns
Comparator
<
T
>
natural
Order
natural
Order
(
a
:
any
, b
:
any
)
:
1
|
-1
|
0
Parameters
a:
any
b:
any
Returns
1
|
-1
|
0
Globals
"
Comparator"
Comparator
compare
natural
Order