I know, it's useless. Sometimes you don't know if a number is zero or not, so I made this code to help you. git clone https://github.com/Niximkk/is-it-zero npm install node .