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)
        • (a, b): boolean
        • Parameters

          • a: unknown
          • b: unknown

          Returns 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>)
        • (a, b): Promise<boolean>
        • Parameters

          • a: unknown
          • b: unknown

          Returns 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

    Returns MaybePromise<boolean>