Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ContainsKey(TKey)

Returns true if a given key is present in this hash map.
Read time 1 minuteLast updated 13 days ago

Definition

ContainsKey(T)

public bool ContainsKey(TKey key)

Parameters

key

T
The key to look up.

Returns

Type

Description

boolTrue if the key was present.