``` override infix fun equals(other: Any?): Boolea...
# getting-started
a
Copy code
override infix fun equals(other: Any?): Boolean {
    if (other is Board) {
        return this.toState() == other.toState()
    }
    return false
}
this works for me