• Performs a deep comparison between two values to determine if they are equivalent

    Example

    equals({ a: [2, { e: 3 }], b: [4], c: 'foo' }, { a: [2, { e: 3 }], b: [4], c: 'foo' }); // true
    

    Parameters

    • obj: Record<string, unknown>
    • obj2: unknown

    Returns boolean

Generated using TypeDoc