Checks if two objects are deep equal

  • Parameters

    • object1: any
    • object2: any

    Returns boolean

    true if the two objects are deep equal, false otherwise