Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Const uniqueByObjKey

  • uniqueByObjKey(arr: any[], key: string): any[]
  • Parameters

    • arr: any[]
    • key: string

    Returns any[]

uniqueMap

  • uniqueMap<T, K>(array: T[], mapFunction: (item: T) => K | undefined): K[]
  • Type parameters

    • T

    • K

    Parameters

    • array: T[]
    • mapFunction: (item: T) => K | undefined
        • (item: T): K | undefined
        • Parameters

          • item: T

          Returns K | undefined

    Returns K[]

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration