equals

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

Compares this Body object with the specified object for equality.

Return

true if the objects are equal, false otherwise.

Parameters

other

the object to compare for equality.