setRemove

Removes a value from a set. Returns true if the value was removed, or false if it was not in the set.

setRemove(set, value) → returns boolean

Member Function Syntax

mySet.remove(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 setRemove

Examples
Sample code invoking the setRemove function

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

Fork me on GitHub