ui.data.ActiveDictionary.set

Stay organized with collections Save and categorize content based on your preferences.

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.ActiveDictionaryThe ui.data.ActiveDictionary instance.
keyOrDictObject|StringEither the key of the property to set or a dictionary of key/value pairs to set on the object.
valueObject, optionalThe property's new value. This is required when the first argument is a key string.