• 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.

    Type Parameters

    • T

    Parameters

    • opt: Option<T>

      The optional value which it considers to be a Some.

    Returns T

    The unwrapped value.

Generated using TypeDoc