compare method

bool compare (dynamic value1 String operation, dynamic value2)

Perform comparison operation over two arguments. The operation can be performed over values of any type.

  • value1 the first argument to compare
  • operation the comparison operation: '==' ('=', 'EQ'), '!= ' ('<>', 'NE'); '<'/'>' ('LT'/'GT'), '<='/'>=' ('LE'/'GE'); 'LIKE'.
  • value2 the second argument to compare Returns result of the comparison operation