equals

open operator override fun equals(other: Any?): Boolean(source)

Checks if this Body object is equal to another object.

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare to this Body object.