▸ subtract(x?
: NumberLike, y?
: NumberLike): number
Subtracts two given NumberLikes.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
x | NumberLike | 0 | The minuend. |
y | NumberLike | 0 | The subtrahend. |
Returns: number
number - The resulting difference.
Defined in: safe/math/subtract.ts:10