Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.


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

Returns True. both "A" members in the input array are related to the single "A" in the comparator array.

...