symmetricdifference() Function

Function

symmetricdifference( array1, array2 )

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

Parameters

Keyword Type Description

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

Open in Github Built: Fri, Dec 03, 2021 (02:38:47 PM)

On This Page

FEEDBACK