equals

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

Checks whether this Size instance is equal to another object.

Two Size instances are considered equal if and only if their width, height, and depth are all the same.

A Size instance is never equal to an instance of another type.

Return

true if the specified instance is equal to this Size; false otherwise.

Parameters

other

The other instance to compare with.