validate abstract method
Either<E, V>
validate(
- I value
A pure function that validates the given value
and returns the result as
Either<E, V>
, encoding either a corresponding model value or an error message.
Implementation
Either<E, V> validate(I value);