is-narcissistic
v1.0.3
Published
Check if an integer is narcissistic.
Downloads
17
Maintainers
Readme
is-narcissistic
Check if an integer is narcissistic.
Currently base 10 only
Install
$ npm install --save is-narcissistic
Usage
var isNarcissistic = require('is-narcissistic');
isNarcissistic(153);
//=> true
isNarcissistic(100);
//=> false
License
MIT © Andreas Gillström