Function setEqual

  • Checks if two arrays contain the same elements in the same quantity.

    Type Parameters

    • T

    Parameters

    • a: T[]

      First array for comparison

    • b: T[]

      Second array for comparison

    Returns boolean

    Whether the two arrays are equal, irrespective of order.