• Function to validate if the two given objects are deeply equal

    Type Parameters

    • T extends Record<string, any>

    Parameters

    • obj1: T
    • obj2: T

    Returns boolean

    {boolean}

    Example

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

Generated using TypeDoc