setDiffSymmetric - The symmetric set difference between two arrays
setDiff
returns the set difference of two arrays. The resulting array includes elements from either array1
or array2
but not both.
Syntax
Like many functions in DataPrime, setDiffSymmetric
supports two notations, function and method notation. These interchangeable forms allow flexibility in how you structure expressions.
Arguments
Name | Type | Required | Description |
---|---|---|---|
array1 | array of type T | true | T must be either string , bool , number , interval , timestamp , regexp or enum |
array2 | array of type T | true | T must be either string , bool , number , interval , timestamp , regexp or enum |
Theme
Light