Operator operator ==
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
operator ==(DiscordRole, DiscordRole)
Gets whether the two DiscordRole objects are equal.
public static bool operator ==(DiscordRole e1, DiscordRole e2)
Parameters
e1
DiscordRoleFirst role to compare.
e2
DiscordRoleSecond role to compare.
Returns
- bool
Whether the two roles are equal.