setSymDifference
setSymDifference(set1, set2)
Create the symmetric difference of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays before the operation.
Try it yourself:
$1 | setSymDifference([1, 2, 3, 4], [3, 4, 5, 6])
| |
$2 | setSymDifference([[1, 2], [3, 4]], [[3, 4], [5, 6]])
|