src code

class method SpahQL.DataHelper.superSet

SpahQL.DataHelper.superSet(superset, subset) → Boolean result
  • superset (Array) – The value being asserted as a superset of the ‘subset’ argument.
  • subset (Array) – The value being asserted as a subset of the ‘superset’ argument.

Compares two sets and returns a result of true if every value in the given subset has a corresponding equal in the superset. Order of values within the sets is not enforced.