Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArrayUtility

static members for @type {Array}

export

Hierarchy

  • ArrayUtility

Index

Constructors

Methods

  • findDuplicates<T>(data: T[]): T[]
  • groupBy(reducible: any[], keyGetter: Function): ReducedGroup[]
  • isNotTruthyOrIsEmpty<T>(data: T[]): boolean
  • returns true when the specified array is not truthy or when its length is zero

    Type parameters

    • T

    Parameters

    • data: T[]

    Returns boolean

  • sortItems<T>(items: T[], propertyName: string, isNumeric?: boolean, isDescending?: boolean): T[]

Generated using TypeDoc