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 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

ContainsKey(T)

public bool ContainsKey(TKey key)

Parameters

key

T
The key to look up.

Returns

Type

Description

boolTrue if the key was present.