Dict
Inherits from Object. Dict (dictionaries) allow you to add and reference objects by key and value.
Fields
Field
Type
Readonly
Description
Keys
List(Object)
true
List of keys in the dictionary.
Values
List(Object)
true
List of values in the dictionary.
Count
int
true
Number of entries.
Functions
Function
Returns
Description
Clear
null
Clears the dictionary.
Get(key: Object, optional default: Object)
Object
Returns the value at given key. If the optional parameter default is provided, will return default if no key is found.
Set(key: Object, value: Object)
null
Sets the value at given key.
Remove(key: Object)
null
Removes the entry at given key.
Contains(key: Object)
bool
Whether or not the dictionary contains the key.
Last updated