symmetricdifference() Function

Returns the values unique to two arrays but are not in the intersection of them.

Syntax

symmetricdifference( array1, array2, … )

array1: (Any Type Array) Array of values.

array2: (Any Type Array) Array of values.

Returns

Any Type Array

Examples

You can experiment with this function in the test box below.

Test Input

symmetricdifference({1, 2, 3, 4}, {3, 4, 5, 6}) returns 1, 2, 5, 6

FEEDBACK