Functions
Const uniqueByObjKey
- uniqueByObjKey(arr: any[], key: string): any[]
-
Parameters
Returns any[]
uniqueMap
- uniqueMap<T, K>(array: T[], mapFunction: (item: T) => K | undefined): K[]
-
Type parameters
Parameters
-
array: T[]
-
mapFunction: (item: T) => K | undefined
-
-
Parameters
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