setRemoveAll

Removes from the target set every element that is in the source set. Returns true if the target set changed.

setRemoveAll(set, values) → returns boolean

Member Function Syntax

mySet.removeAll(values)

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

Argument Reference

set any
Required

The set to remove elements from.

values any
Required

The set of elements to remove.

Links more information about setRemoveAll

Examples
Sample code invoking the setRemoveAll function

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

Fork me on GitHub