Table of Contents

Operator operator ==

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

operator ==(DiscordUser?, DiscordUser?)

Gets whether the two DiscordUser objects are equal.

public static bool operator ==(DiscordUser? e1, DiscordUser? e2)

Parameters

e1 DiscordUser

First user to compare.

e2 DiscordUser

Second user to compare.

Returns

bool

Whether the two users are equal.