Table of Contents

Method Equals

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Equals(object?)

Checks whether this DiscordUser is equal to another object.

public override bool Equals(object? obj)

Parameters

obj object

Object to compare to.

Returns

bool

Whether the object is equal to this DiscordUser.

Equals(DiscordUser?)

Checks whether this DiscordUser is equal to another DiscordUser.

public bool Equals(DiscordUser? other)

Parameters

other DiscordUser

DiscordUser to compare to.

Returns

bool

Whether the DiscordUser is equal to this DiscordUser.