Function deepEqual

  • Performs a recursive comparison of two objects or arrays to check if they have the same keys, length and values. Unlike shallowEqual this method compares nested values also.

    Returns

    true if the objects are considered equal.

    Parameters

    • obj: any
    • other: any
    • Optional checker: Function
    • Optional seen: any

    Returns boolean

Generated using TypeDoc