Function setByKeys

  • Returns a new Set containing the unique elements of the source list. If the elements given are KeyLabel, they are compared by key.

    Type Parameters

    Parameters

    • source: readonly T[] | Set<T> | T[]

    Returns Set<T>