B2R2


Result Module

Extended Result.

Functions and values

Function or value Description

Result.get res

Full Usage: Result.get res

Parameters:
Returns: 'a

Get the result assuming that there is no error.

res : Result<'a, 'b>
Returns: 'a

Result.isOk res

Full Usage: Result.isOk res

Parameters:
Returns: bool

Is the result Ok?

res : Result<'a, 'b>
Returns: bool