setIntersection

Returns a new set containing the elements found in both sets.

setIntersection(a, b) → returns any

Member Function Syntax

mySet.intersection(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 setIntersection

Examples
Sample code invoking the setIntersection function

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

Fork me on GitHub