Fail
with the given reason.Or.filter(Function)
method.Or
if either 1) it is a Bad
or 2) it is a Good
and applying
the validation function validation
to this Good
's value returns Pass
; otherwise,
returns a new Bad
containing the error value contained in the Fail
resulting from
applying the validation function validation
to this Good
's value.Option
into an Or.Option
into an Or.Either
into an Or.Try
into an Or.Copyright © 2016. All rights reserved.