toString method

String toString()
override

Returns either "true" for true and "false" for false.

Implementation

String toString() {
  return this ? "true" : "false";
}