react-rv
    Preparing search index...

    Type Alias EqualFn<T>

    EqualFn: (oldValue: T, newValue: T) => boolean

    A function to compare old and new values for equality.

    Type Parameters

    • T

      The type of values being compared.

    Type declaration

      • (oldValue: T, newValue: T): boolean
      • Parameters

        • oldValue: T

          The previous value.

        • newValue: T

          The new value to compare against.

        Returns boolean

        true if values are considered equal, false otherwise.