Subset Function

Description:
Test that a first list subsumes all the members of a second list.
Returns true if all the members of the second list are also members of the first list, and returns false otherwise.
Returns:
Boolean
Parameters:
Parameter
Data Type
Description
1
Any*
The first list.
2
Any*
The second list.
Examples:
Expression
Result
Subset( List("a","b","c"), List("a","c") )
true
Subset( List("a","b","c"), List("a","d") )
false
Subset( List(), List() )
true

Related content