Updater<S, T> typedef

Updater<S, T> = S Function(S subject, T value)

Returns a copy of subject but with a field of type T replaced by value

Implementation

typedef Updater<S, T> = S Function(S subject, T value);