Table of Contents

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 DiscordRole

First role to compare.

e2 DiscordRole

Second role to compare.

Returns

bool

Whether the two roles are equal.