Lucee Function Reference
structupdate()
Updates a key with a value.
Example
structupdate(struct struct,string key,any value):boolean
Category
struct
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
struct | struct | Yes | Structure to update |
key | string | Yes | Key, the value of which to update |
value | any | Yes | New value |