EqualityComparator: (previous: T, current: T) => boolean

Determines whether two property values are equal.

Returning true indicates that the values are equal and the property has not changed.

Type Parameters

  • T

Type Declaration

    • (previous: T, current: T): boolean
    • Parameters

      • previous: T
      • current: T

      Returns boolean