EqualityChecker<T> typedef

EqualityChecker<T> = bool Function(T item1, T item2)

A type alias for a function that checks equality between two items of type T.

Implementation

typedef EqualityChecker<T> = bool Function(T item1, T item2);