equals method

bool equals (dynamic obj)

Compares this object value to specified specified value. When direct comparison gives negative results it tries to compare values as strings.

  • obj the value to be compared with. Returns true when objects are equal and false otherwise.