Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • blobToFile(binary: Blob, fileName: string): File
  • bytesToShortestUnit(bytesCount: number): string
  • downloadFile(filename: string, data: string | Blob): void
  • fileListToArray(fileList: FileList): File[]
  • getAbbreviatedCount(count: Nullable<number>): string | null
  • getArrayBufferFromString(inputString: Nullable<string>): Uint8Array | null
  • getArrayFirstElement<T>(array: T[]): T | undefined
  • getArrayLastElement<T>(array: T[]): T | undefined
  • getArrayUniqueElements(array: []): []
  • getArrayUniqueElements(array: number[]): number[]
  • getArrayUniqueElements(array: boolean[]): boolean[]
  • getArrayUniqueElements(array: string[]): string[]
  • getArrayUniqueElements<T>(array: T[]): T[]
  • getArrayUniqueElements<T, K>(array: T[], compareBy: number | symbol | K): T[]
  • getArrayWithMovedItems<T>(array: T[], fromIndex: number, toIndex: number): T[]
  • getArraysDifference(arrayA: string[], arrayB: string[]): string[]
  • getArraysDifference(arrayA: boolean[], arrayB: boolean[]): boolean[]
  • getArraysDifference(arrayA: number[], arrayB: number[]): number[]
  • getArraysDifference(arrayA: Primitive[], arrayB: Primitive[]): Primitive[]
  • getArraysDifference<T>(arrayA: T[], arrayB: T[], objectKey: string): T[]
  • getClampedValue(value: number, min: number, max: number): number | undefined
  • getElementAllNestedChildren(element: Element): Element[]
  • getHslColorFromString(inputString: string, saturation?: number, lightness?: number): HslColor
  • getIncrementedName(currentName: string, namesArray?: string[]): string
  • getObjectPropertyComparator<T>(propertyName: string, getValueToCompare?: Converter): Comparator<T>
  • getPagedArray<T>(items: T[], perPageCount: number): T[][]
  • getRegExpPattern(name: RegExpPatternName): RegExp | undefined
  • getReversedArray<T>(array: T[]): T[]
  • getShuffledArray<T>(array: T[]): T[]
  • getStringFromArrayBuffer(buffer: Nullable<Uint8Array>, offset?: number): string | null
  • getStringHash(inputString: string): number | undefined
  • getSubstringBetween(source: string, __namedParameters: Options): string
  • isEmpty(input: unknown): boolean
  • isEqual(a: unknown, b: unknown): boolean
  • isNil<T>(entity: Nullable<T>): entity is undefined | null
  • isNonEmptyObject(input: unknown): boolean
  • isNumber(input: unknown): input is number
  • isObject(input: unknown): input is object
  • isString(input: unknown): input is string
  • isSymbol(input: unknown): input is symbol
  • isUuid(input: unknown): input is Uuid
  • mapArrayToKeyValueMap<T, Key>(array: T[], key: Key): Map<T[Key], T>
  • mergeArraysByProperty<T>(property: string & keyof T, ...arrays: T[][]): T[]
  • nullIfEmpty<T>(value: T): T | null
  • sortByProperty<T>(array: T[], property: string | keyof T, comparator?: Comparator<unknown>): T[]
  • sortByProperty<T, K>(array: T[], property: string | keyof T, sortDirection?: K): T[]
  • stringFilterPredicate(targetValue: string, filterValue: string): boolean
  • trimAllSpaces(text: string): string

Generated using TypeDoc