Sets
A Set is a collection of elements that are unique (i.e. that does not contain duplicates).
The only way to create a Set from other types is to use the ipAddressSet function.
The following operations are available on sets.
isEmpty(set): Returns aBoolindicating ifsetcontains no elements.A + B: Returns the union of setsAandB.A - B: Returns the differences of the setsAandB, which contains the elements inAthat are not inB.intersect(set1, set2): Returns the intersection ofset1andset2.ip in set: Returns aBoolindicating if theIpAddressipis contained inset.subnet in set: Returns aBoolindicating if the set ofIpAddresses represented by theIpSubnetsubnetis a subset ofset.subset in superset: Returns aBoolindicating ifsubsetis a subset ofsuperset.