isGreater method

bool isGreater (dynamic value1 dynamic value2)

Checks if first value is greater than the second one. The operation can be performed over numbers or strings.

  • value1 the first value to compare
  • value2 the second value to compare Returns true if the first value is greater than second and false otherwise.