StateCommand typedef

StateCommand = bool Function(StateCommandTarget target)

A state command - operates on state without needing view information.

Implementation

typedef StateCommand = bool Function(StateCommandTarget);