Go to repository
Internal

Function setEquals

Answer if two Sets are equal. Two Sets are equal when they both have the exact same number of elements, and they have the same elements.

Type Parameters

  • T

Parameters

  • a: Set<T>

    The first object

  • b: Set<T>

    The second object

Returns boolean

true if both object are equal, false otherwise.