ResTIntoOpt Method

Converts the result type into the option type as follows:
  • Ok(value) => Some(value),
  • Err(error) => None, ignoring the error message.

Definition

Namespace: Orx.Fun.Result
Assembly: Orx.Fun.Result (in Orx.Fun.Result.dll) Version: 1.3.0+344c8bdd6f720ccfb2d8db7c61b76cf02be18f5f
C#
public Opt<T> IntoOpt()

Return Value

OptT

See Also