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

Function arrToSet

  • arrToSet<TArr>(arr): Set<TArr>
  • Convert an array to a set

    Type Parameters

    • TArr

    Parameters

    • arr: readonly TArr[]

    Returns Set<TArr>

    • Defined in helpers/sets.ts:8
  • arrToSet<TArr, TSet>(arr, map): Set<TSet>
  • Map an array to a set

    Type Parameters

    • TArr
    • TSet

    Parameters

    • arr: readonly TArr[]
    • map: ArrayMapFunc<TArr, TSet>

    Returns Set<TSet>

    • Defined in helpers/sets.ts:15

Settings

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

Generated using TypeDoc