switchValue method

bool switchValue()

Implementation

bool switchValue() {
  return setValue(value == true ? false : true);
}