setDelete

Removes a value from a set and returns the same set. Does nothing if the value is not in the set.

setDelete(set, value) → returns any

Member Function Syntax

mySet.delete(value)

This function requires Adobe ColdFusion 2025.0.8 and up.  Not supported on Lucee, etc.

Argument Reference

set any
Required

The set.

value any
Required

The value to remove.

Links more information about setDelete

Examples
Sample code invoking the setDelete function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub