• Create a new Set where every element is modified by a provided transformation function.

    Parameters

    • transform: ((arg0, arg1, arg2) => boolean)

      The transformation function to apply.Positional arguments are the value, the index of iteration, and the set being transformed.

        • (arg0, arg1, arg2): boolean
        • Parameters

          • arg0: any
          • arg1: number
          • arg2: Set<any>

          Returns boolean

    Returns Set<any>

    A new Set of equal size containing transformed elements.

    See

    Array#map