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