Skip to content

format

typescript
Dictionary.Contains(key)

class: Dictionary

description

Whether the specified key is contained in the dictionary.

parameter

param_nametypedescription
keyK|nullThe key to check.

reture

typedescription
boolean

code example

typescript
let dictionary = new Dictionary<Number, Number>(Number);
dictionary.Contains(1);