Returns the option if it is a Some value, otherwise throws an error with
the provided message.
Returns true if the option is a None value.
Returns an iterator over the possibly contained value.
Returns a string representation of the option for debugging purposes.
Unwraps the option, yielding the content of a Some.
USE THIS SPARINGLY! It is generally better to use unwrapOr or map to
handle situations you may be temped to .unwrap() in.
Returns
Noneif the option isNone, otherwise returnsother.