ui.data.ActiveDictionary.set

Sets the value of a given property. Throws an error if the key provided is not supported by the object. Look at the constructor's parameters to see which properties can be set.

Returns this ui.data.ActiveDictionary.

UsageReturns
ActiveDictionary.set(keyOrDict, value)ui.data.ActiveDictionary
ArgumentTypeDetails
this: ui.data.activedictionaryui.data.ActiveDictionary

The ui.data.ActiveDictionary instance.

keyOrDictObject|String

Either the key of the property to set or a dictionary of key/value pairs to set on the object.

valueObject, optional

The property's new value. This is required when the first argument is a key string.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!