1.1.1 • Published 5 years ago
@extra-number/is-abundant v1.1.1
const isAbundant = require('@extra-number/is-abundant');
// 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)