equals

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

Checks if this Body object is equal to the specified other object.

Two Body objects are considered equal if they have the same values for the following properties:

Return

true if the specified other object is equal to this Body object, false otherwise.

Parameters

other

The object to compare with this Body object.