Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Utility

Index

Constructors

constructor

  • Returns Utility

Methods

OrderByArray

  • OrderByArray<T>(values: T[], orderType: any): Array<T>
  • Order an array by specified order type.

    Type parameters

    • T

    Parameters

    • values: T[]

      of T type

    • orderType: any

      property name

    Returns Array<T>

    ordered array.

extend

  • extend(dstObj: any, ...srcObj: any[]): any
  • Copies properties from source object to destination object.

    Parameters

    • dstObj: any

      destination object

    • Rest ...srcObj: any[]

      source object

    Returns any

    destination object with new properties from source object.

extendAs

  • extendAs<destType>(dstObj: any, ...srcObj: any[]): destType
  • Copies properties from source object to destination object.

    Type parameters

    • destType

    Parameters

    • dstObj: any

      destination object

    • Rest ...srcObj: any[]

      source object

    Returns destType

    destination object with new properties from source object.

isObject

  • isObject(value: any): boolean
  • Checks if provided value is javascript object.

    Parameters

    • value: any

      any given value

    Returns boolean

    true if provided value is object, otherwise false.

isUndefined

  • isUndefined(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Generated using TypeDoc