Operator operator ==
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
operator ==(DiscordUser?, DiscordUser?)
Gets whether the two DiscordUser objects are equal.
public static bool operator ==(DiscordUser? obj, DiscordUser? other)
Parameters
obj
DiscordUserFirst user to compare.
other
DiscordUserSecond user to compare.
Returns
- bool
Whether the two users are equal.