equals

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

Checks if this episode is equal to another object.

Two episodes are considered equal if they have the same season, number, and ID.

Return

true if the episodes are equal, false otherwise.

Parameters

other

The object to compare to.