1 contributor
Like
Install modulo as a package?
Copied
npm i @bit/justin-capalbo.ramda.modulo
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
modulo (
a:
Number
,b:
) : Number
Number
Divides the first parameter by the second and returns the remainder. Note
that this function preserves the JavaScript-style behavior for modulo. For
mathematical modulo see mathMod
.
Example
Arguments
a:
Number
The value to the divide.
b:
Number
The pseudo-modulus
Returns
Number
The result of `b % a`.