Preparing search index...
The search index is not available
mingo
mingo
util
compare
Function compare
Compare function which adheres to MongoDB comparison order.
compare
<
T
>
(
a
,
b
)
:
number
Type Parameters
T
=
unknown
Parameters
a
:
T
The first value
b
:
T
The second value
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
mingo
Loading...
Compare function which adheres to MongoDB comparison order.