interface Equatable

export declare interface Equatable<T>

Represents a structure that can be checked against another given structure for equality

Type Parameters

T

The type of object to compare the current object to

equals(
other: T
) : boolean

Whether or not this is equal to another structure