Lucee object methods reference
Object Method Struct.delete
Removes an element from a structure.
Struct.delete(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 |
|---|---|---|---|
| key | string | Yes | Element to remove |
| indicateNotExisting | boolean | No | Whether to show an error if the key does not exist |