Determines if a number is a ugly number or not.
npm install --save is-ugly-number
const isUgly = require('is-ugly-number');
isUgly(120);
//=> true
isUgly(101);
//=> false
isUgly('3960');
//=> TypeError: Expects number got string
isUgly();
//=> TypeError: Expects number got undefined
avinash [email protected]