ChangeDetector<T> typedef

ChangeDetector<T> = bool Function(T a, T b)

A function that determines if a value has changed.

Returns true if a and b are different values.

Implementation

typedef ChangeDetector<T> = bool Function(T a, T b);