Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/object/areObjectsEqual

Index

Functions

Functions

Const areObjectsEqual

  • areObjectsEqual<T>(obj1: T, obj2: T): boolean
  • Function to validate if the two given objects are deeply equal

    example

    areObjectsEqual({x: 1, y: 1}, {x: 1, y: 1}); // return true

    Type parameters

    • T: Record<string, any>

    Parameters

    • obj1: T
    • obj2: T

    Returns boolean

    {boolean}

Generated using TypeDoc