Constructs a failure result if the condition is true, otherwise constructs a success result with the given value.
See Implementation
Constructs a failure result if the condition is true, otherwise constructs a success result with the given value.