🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators symmetricDifference

The symmetric difference between the collections is, i.e., all the objects in collection1 or collection2 but not in both.

It is practical to use if you need to ask if two collections are equal. If they are, symmentricDifference returns an empty collection.

See: Examples on collection operators

See also: OCLOperators_difference
Video: OCL Operators: symmetricDifference