@yookue/ts-lang-utils
    Preparing search index...

    Function equalsAny

    • Returns whether the given array equals any of the given comparisons

      Parameters

      • Optionalarray: null | any[] | readonly any[]

        the array to check

      • Optionalcomparisons: null | any[][] | readonly any[][]

        the elements to compare

      Returns boolean

      whether the given array equals any of the given comparisons

      David Hsing

      equalsAny([], [['foo', 'bar']]);    // false
      equalsAny(['foo', 'bar'], [['foo', 'bar'], ['bar', 'foo']]); // true