CenterView Help

excluded

Function: excluded()

Returns an Array of all items in one Array that are not contained within another Array.

Syntax

excluded(setA, setB)

ArgumentTypeDescription
setAArrayAn Array of values of any type.
setBArrayAn Array of values of any type.

Returns an Array of all items that are in setA that are not in setB.

Examples

excluded(["a","b","c","d","e"],["a", "c","f","d"])

Returns the Array ["b","e"].

See Also

Please let us know if we could improve this page feedback@phixflow.com