Readonly kindThe property that discriminates Validation.
Readonly valThe failure of this Validation.
If this and that Validation both succeed, combine their successes.
Compare this and that Validation to determine their ordering.
When ordered, Err always compares as less than Ok. If the
variants are the same, their failures or successes are compared to
determine the ordering.
Compare this and that Validation to determine their equality.
Two Validation are equal if they are the same variant and their
failures or successes are equal.
If this Validation succeeds, ignore the success and return that
Validation.
Test whether this Validation has failed.
Test whether this Validation has succeeded.
If this Validation fails, apply a function to map its failure.
If this Validation succeeds, apply a function to map its success.
Apply one of two functions to extract the failure or success out of
this Validation, depending on the variant.
If this and that Validation succeed, apply a function to combine
their successes.
Generated using TypeDoc
A failed
Validation.