Operator operator ==
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.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.