• Preparing search index...
  • The search index is not available
@juulsgaard/ts-tools
  • @juulsgaard/ts-tools
  • setToArr

Function setToArr

  • setToArr<TSet, TOut>(set): TSet[]
  • Convert a Set to an Array

    Type Parameters

    • TSet
    • TOut

    Parameters

    • set: ReadonlySet<TSet>

    Returns TSet[]

    • Defined in helpers/arrays.ts:29
  • setToArr<TSet, TOut>(set, map): TOut[]
  • Map a Set to an Array

    Type Parameters

    • TSet
    • TOut

    Parameters

    • set: ReadonlySet<TSet>
    • map: ((val: TSet) => TOut)
        • (val): TOut
        • Parameters

          • val: TSet

          Returns TOut

    Returns TOut[]

    • Defined in helpers/arrays.ts:36

Settings

Member Visibility
@juulsgaard/ts-tools
  • Loading...

Generated using TypeDoc