divisiblebybutnotdivisibleby
v1.0.1
Published
A simple function to see if a number is divisible by another number(s) but also not divible by other number(s)
Readme
divisiblebybutnotdivisibleby
Determine if one number is divisible by another but not divisible by another
> const divisiblebybutnotdivisibleby = require('divisiblebybutnotdivisibleby')
undefined
> divisiblebybutnotdivisibleby(4, 2, 7)
true
> divisiblebybutnotdivisibleby(8, 3, 4)
falseinstall
npm install divisiblebybutnotdivisibleby