Static Methodvapor 4.114.1Vapor->Swift
makeOptionalType(_:)
See OptionalType.makeOptionalType
static func makeOptionalType(_ wrapped: Wrapped?) -> Optional<Wrapped>
See OptionalType.makeOptionalType
static func makeOptionalType(_ wrapped: Wrapped?) -> Optional<Wrapped>
import Swift
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
@frozen enum Optional<Wrapped> where Wrapped : ~Copyable
A type that represents either a wrapped value or the absence of a value.
var wrapped: Wrapped? { get }
See OptionalType.wrapped
typealias WrappedType = Wrapped
See OptionalType.WrappedType