setUnion

Returns a new set containing every element in either set.

setUnion(a, b) → returns any

Member Function Syntax

mySet.union(otherSet)

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

Argument Reference

a any
Required

The set.

b any
Required

The other set.

Links more information about setUnion

Examples
Sample code invoking the setUnion function

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

Fork me on GitHub