Nodejs Utililty Methods Boolean Toggle

List of utility methods to do Boolean Toggle

Description

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

Method

toggle()
Boolean.prototype.toggle = function() {
  return !this.valueOf();
};