You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

Equatable

export declare interface Equatable<T>
export declare interface Equatable<T>
Represents a structure that can be checked against another given structure for equality
NameConstraintsOptionalDefaultDescription
TNoThe type of object to compare the current object to
equals(other):boolean
Whether or not this is equal to another structure
NameTypeOptionalDescription
otherTNoNone