toBoolean method

bool toBoolean()

Implementation

bool toBoolean() {
  if (toLowerCase() == "true") {
    return true;
  }
  return false;
}