Equatable
export interface Equatable<T>
export interface Equatable<T>
Represents a structure that can be checked against another given structure for equality
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | No | The type of object to compare the current object to |
equals
:
(other: T) => boolean
Whether or not this is equal to another structure