Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObjectUtil

Hierarchy

  • ObjectUtil

Index

Methods

Methods

Static combine

  • combine<T>(...objects: {}[]): {}
  • Combines multiple objects into a new object, such that the new object contains all dynamic keys present in all the specified objects.

    Type parameters

    • T

    Parameters

    • Rest ...objects: {}[]

      A list of objects to combine. If an array of objects is provided as the only argument, that array's elements are combined into a new object.

    Returns {}

    • [key: string]: T

Static len

  • len(object: any): number
  • Parameters

    • object: any

    Returns number