setSymmetricDifference

Returns a new set containing the elements that are in one set or the other, but not both.

setSymmetricDifference(a, b) → returns any

Member Function Syntax

mySet.symmetricDifference(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 setSymmetricDifference

Examples
Sample code invoking the setSymmetricDifference function

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

Fork me on GitHub