Method Equals
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Equals(object?)
Checks whether this DiscordUser is equal to another object.
public override bool Equals(object? obj)
Parameters
obj
objectObject to compare to.
Returns
- bool
Whether the object is equal to this DiscordUser.
Equals(DiscordUser?)
Checks whether this DiscordUser is equal to another DiscordUser.
public bool Equals(DiscordUser? other)
Parameters
other
DiscordUserDiscordUser to compare to.
Returns
- bool
Whether the DiscordUser is equal to this DiscordUser.