code: def unwrap_or(self, optb: T) -> T:
          
          return cast(T, self._val) if self._is_ok else optb
docs: Returns the success value in the :class:`Result` or ``optb``.
  
          Args:
              optb: The default return value.
  
          Returns:
              The success value in the :class:`Result` if it is a
              :meth:`Result.Ok` value, otherwise ``optb``.
  
          Notes:
              If you wish to use a result of a function call as the default,
              it is recommnded to use :meth:`unwrap_or_else` instead.
  
          Examples:
              >>> Ok(1).unwrap_or(2)
              1
              >>> Err(1).unwrap_or(2)
              2