Lucee Function Reference

Function ARRAYDELETE

Deletes specified object from given array

Example

arraydelete(array array,object value,[string scope]):boolean

Category

array

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
array array  Yes The array to delete from  
value object  Yes The value to delete  
scope string  No one: replaces the first occurrence (default)
all: replaces all occurrences