▸ remainder(x?
: NumberLike, y?
: NumberLike): number
Gets the remainder of dividing two given NumberLikes.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
x | NumberLike | 1 | The dividend. |
y | NumberLike | 1 | The divisor. |
Returns: number
number - The resulting remainder.
Defined in: safe/math/remainder.ts:10