equals

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

Two signatures are considered equal if r and s are equal. This is true even if they are of definite length, and the lengths differ.

We chose this approach to allow definite and indefinite length encodings of the same signature to be equal, while preserving the transitivity contract of equals.