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