Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ObjectUtils

Index

Methods

Static clone

  • clone(object: any): any
  • Parameters

    • object: any

    Returns any

    An exact independent copy of the received object, without any shared reference.

Static getKeys

  • getKeys(object: any): string[]
  • Parameters

    • object: any

    Returns string[]

    List of strings with the first level object key names in the same order as defined on the object instance

Static isEqualTo

  • isEqualTo(object1: any, object2: any): boolean
  • Parameters

    • object1: any
    • object2: any

    Returns boolean

    true if objects are exactly the same, false if not

Static isObject

  • isObject(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

    true if the given value is an object, false otherwise

Static isStringFound

  • isStringFound(object: any, str: string, caseSensitive?: boolean): boolean
  • Parameters

    • object: any
    • str: string
    • Default value caseSensitive: boolean = true

    Returns boolean

    True if the string is found anywhere inside the provided object, false otherwise

Static merge

  • merge(destination: any, source: any): any
  • Parameters

    • destination: any
    • source: any

    Returns any

    The destination object instance after being modified by merging the source object into it

Generated using TypeDoc