Nodejs Utililty Methods Number to Boolean Convert

List of utility methods to do Number to Boolean Convert

Description

The list of methods to do Number to Boolean Convert are organized into topic(s).

Method

toBoolean()
Number.prototype.toBoolean = function(){
  return Boolean(this);
};