uom-types - v0.0.0-development
Preparing search index...
sub
Function sub
sub
<
T
extends
number
>
(
a
:
OperationIO
<
T
>
,
b
:
OperationIO
<
T
>
)
:
OperationIO
<
T
>
Subtract one value from another with the same units.
Type Parameters
T
extends
number
Parameters
a
:
OperationIO
<
T
>
b
:
OperationIO
<
T
>
Returns
OperationIO
<
T
>
a - b
sub
<
T
extends
number
>
(
b
:
OperationIO
<
T
>
)
:
(
a
:
OperationIO
<
T
>
)
=>
OperationIO
<
T
>
Subtract one value from another with the same units.
Type Parameters
T
extends
number
Parameters
b
:
OperationIO
<
T
>
Returns
(
a
:
OperationIO
<
T
>
)
=>
OperationIO
<
T
>
(a) => a - b
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
uom-types - v0.0.0-development
Loading...
Subtract one value from another with the same units.