equalsAsType<T> method
Compares this object value to specified specified value. When direct comparison gives negative results it converts values to type specified by type code and compare them again.
obj
the value to be compared with. Returns true when objects are equal and false otherwise.