Unwraps the optional value. Passing none will throw an error, so you must use this only when opt is considered to be only a Some.
none
opt
Some
The optional value which it considers to be a Some.
The unwrapped value.
Generated using TypeDoc
Unwraps the optional value. Passing
none
will throw an error, so you must use this only whenopt
is considered to be only aSome
.