Javascript String toBoolean()

Description

Javascript String toBoolean()


String.prototype.toBoolean = function () {
  return this == 'true';
};



PreviousNext

Related