isValid abstract method

bool isValid(
  1. S state
)

Returns true if the state is valid according to this validator's rules.

Implementation

bool isValid(S state);