ismodulo
v1.1.0
Published
Check the remainder of a number
Readme
is-Modulo
Returns the remainder of two numbers.
Install
Install with npm
npm install --save isModuloUsage
Works with strings or numbers.
const isModulo = require('isModulo');
console.log(isModulo(6, 2)); //-- 0
console.log(isModulo(4, 3)); //-- 1License
Copyright © 2021, Ethan Chew. Released under the MIT License.
