▸ add(x?
: NumberLike, y?
: NumberLike): number
Adds two given NumberLikes.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
x | NumberLike | 0 | The augend. |
y | NumberLike | 0 | The addend. |
Returns: number
number - The resulting sum.
Defined in: safe/math/add.ts:10