Table of Contents

Method ContainsKey

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

ContainsKey(string)

Checks whether this dictionary contains the specified key.

public bool ContainsKey(string key)

Parameters

key string

Key to check for in this dictionary.

Returns

bool

Whether the key was present in the dictionary.

ContainsKey(ReadOnlySpan<char>)

Checks whether this dictionary contains the specified key.

public bool ContainsKey(ReadOnlySpan<char> key)

Parameters

key ReadOnlySpan<char>

Key to check for in this dictionary.

Returns

bool

Whether the key was present in the dictionary.