0.1.4 • Published 6 years ago
number-isabundant v0.1.4
number-isabundant
NOTE: number-isabundant was renamed to @extra-number/is-abundant.
const isAbundant = require('number-isabundant');
// isAbundant(<number>)
isAbundant(12);
// true (1+2+3+4+6 > 12)
isAbundant(1);
// false (0 < 1)
isAbundant(0);
// false (0 = 0)
isAbundant(-8);
// false (1+2+4 < 8)