transposeResultToNullable
Transposes a Result
of an Nullable<T>
into an Nullable<T>
of a Result
.
Ok(T)
->Ok(T)
Ok(null)
->null
Err(E)
->Err(E)
Transposes a Result
of an Nullable<T>
into an Nullable<T>
of a Result
.
Ok(T)
-> Ok(T)
Ok(null)
-> null
Err(E)
-> Err(E)