• Merges multiple sets into a single set.

    Type Parameters

    • T

      The type of elements in the sets.

    Parameters

    • sets: Iterable<Set<T>> | Set<T>[]

      An array of sets or an iterable of sets to be merged.

    Returns Set<T>

    A new set containing all the unique elements from the input sets.

Generated using TypeDoc