@tsdotnet/compare - v1.5.2
Preparing search index...
compare
compareInverted
Function compareInverted
compareInverted
<
T
>
(
a
:
ComparableObject
<
T
>
,
b
:
T
)
:
number
Compares two comparable objects or primitives and inverts the sign of the result.
Type Parameters
T
Parameters
a
:
ComparableObject
<
T
>
b
:
T
Returns
number
compareInverted
<
T
>
(
a
:
T
,
b
:
ComparableObject
<
T
>
)
:
number
Compares two comparable objects or primitives and inverts the sign of the result.
Type Parameters
T
Parameters
a
:
T
b
:
ComparableObject
<
T
>
Returns
number
compareInverted
<
T
extends
Primitive
>
(
a
:
T
,
b
:
T
)
:
CompareResult
Compares two comparable objects or primitives and inverts the sign of the result.
Type Parameters
T
extends
Primitive
Parameters
a
:
T
b
:
T
Returns
CompareResult
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@tsdotnet/compare - v1.5.2
Loading...
Compares two comparable objects or primitives and inverts the sign of the result.