Function checkCustomDeepQuality

Deeply checks inputs for equality with a custom checker callback. All objects are recursed into and the custom checker is only run on primitives. This function automatically handles async custom checkers and circular references.

  • Deeply checks inputs for equality with a custom checker callback. All objects are recursed into and the custom checker is only run on primitives. This function automatically handles async custom checkers and circular references.

    Parameters

    • a: unknown
    • b: unknown
    • customChecker: (a: unknown, b: unknown) => boolean

    Returns boolean

  • Deeply checks inputs for equality with a custom checker callback. All objects are recursed into and the custom checker is only run on primitives. This function automatically handles async custom checkers and circular references.

    Parameters

    • a: unknown
    • b: unknown
    • customChecker: (a: unknown, b: unknown) => Promise<boolean>

    Returns Promise<boolean>

  • Deeply checks inputs for equality with a custom checker callback. All objects are recursed into and the custom checker is only run on primitives. This function automatically handles async custom checkers and circular references.

    Parameters

    • a: unknown
    • b: unknown
    • customChecker: (a: unknown, b: unknown) => MaybePromise<boolean>

    Returns MaybePromise<boolean>