Optional

extension Optional : OptionalProtocol

Optional implements OptionalProtocol for use in generic constraints

  • The type which this optional wraps

    Declaration

    Swift

    public typealias WrappedType = Wrapped
  • return self

    Declaration

    Swift

    public func getWrapped() -> WrappedType?