unwrapOrNull abstract method
T?
unwrapOrNull()
Unwraps a result, yielding the content of an Ok
.
If the value is an Err
, returns null
instead of throwing an exception.
Implementation
T? unwrapOrNull();
Unwraps a result, yielding the content of an Ok
.
If the value is an Err
, returns null
instead of throwing an exception.
T? unwrapOrNull();