Lucee Function Reference
structdelete()
Removes an element from a structure.
Example
structdelete(struct struct,string key,[boolean indicateNotExisting]):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 contains element to remove. |
| key | string | Yes | Element to remove |
| indicateNotExisting | boolean | No | Whether to show an error if the key does not exist |