resultish
A Resultish represents success (Ok), error (Err), or Both.
It can be converted into a Result:
leniently, whereBothis mapped toOk, and the error value is discarded.strictly, whereBothis mapped toErr, and the success value is discarded.