Skip to main content

CompareFn

CompareFn

The function which is used by KeyCompareMap to determine if changes are distinct or not. Should return true if values are equal.

Signature

type CompareFn<T> = (oldVal: T, newVal: T) => boolean;