true
if the value is Ok, otherwise returns false
.true
if the value is Error, otherwise returns false
.false
.true
.requireEqualTo
, but with a parameter order that fits normal function application better than piping.requireEqual
, but with a parameter order that fits piping better than normal function application.setError
since you're not losing any information.defaultValue
for a result where the Ok value is unit. The name describes better what is actually happening in this case.Result<Async<'a>, 'b>
to Async<Result<'a, 'b>>
.