operator > method

bool operator >(
  1. String b
)

Returns true if this string is lexicographically greater than b.

Implementation

bool operator >(String b) {
  return compareTo(b) > 0;
}