Validator typedef

Validator = bool Function()

Validates a state when called in a function.

Implementation

typedef Validator = bool Function();