Table of Contents

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 DiscordUser

First user to compare.

other DiscordUser

Second user to compare.

Returns

bool

Whether the two users are equal.