You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
util
/
main
/
isEquatable%3AFunction
Search...
K
util
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Functions
calculateShardId
getUserAgentAppendix
isEquatable
isJSONEncodable
lazy
range
shouldUseGlobalFetchAndWebSocket
Interfaces
Equatable
JSONEncodable
RangeOptions
Types
Awaitable
isEquatable
export declare function
isEquatable
(
maybeEquatable
:
unknown
)
:
maybeEquatable
is
Equatable
<
unknown
>;
export declare function
isEquatable
(maybeEquatable
:
unknown
)
:
maybeEquatable
is
Equatable
<
unknown
>;
Summary
Indicates if an object is equatable or not.
Parameters
Name
Type
Optional
Description
maybeEquatable
unknown
No
The object to check against