equals

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

Returns true if, and only if, this schema has the same columns in the same order as the other schema. The types must also match exactly.

Each column is compared by ColumnSchema.equals, so nested schemas of column group schemas and frame column schemas are compared by these same rules, recursively.

Note that equals and compare behave differently: equals requires schemas to match exactly, including column order, while compare ignores column order and provides additional comparison options (see ComparisonMode).

Use compare when column order does not matter or when you need additional comparison options.

See also