CenterView Help

subSet

Function: subSet()

Returns True if all values in one subset exist in another.

Syntax

subSet(setToMatch, setToCheck)

ArgumentTypeDescription
setToMatchArrayThe set of values to match.
setToCheckArrayThe set of values to check.

Examples

subSet(["A","B"],["D","B","A","B"])

Returns True.

subSet(["A","B"],["D","B","E","B"])

Returns False because "A" is not in the second set.

See Also

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