Javascript String isBoolean()

Description

Javascript String isBoolean()


String.prototype.isBoolean = function () {
  return this === 'true' || this === 'false';
};



PreviousNext

Related