equals
Indicates whether some other object is "equal to" this validatable.
Validatables are only compared against the value returned by unwrap. This allows easy comparisons between two validatables:
Validator<UserRegistration> {
constrain { password == passwordConfirmation }
}
Content copied to clipboard