Product Site

5.1.1.1. Comparison Methods

Returns .true or .false, the result of performing a specified comparison operation.

For the Class class, if argument is the same class as the receiver class, the result is .true, otherwise .false is returned.

The comparison operators you can use in a message are:
=, ==

.true if the terms are the same class.
\=, ><, <>, \==

.true if the terms are not the same class (inverse of =).