Skip to content

Protocol

OptionalType

Capable of being represented by an optional wrapped type.
protocol OptionalType : AnyOptionalType

Overview

This protocol mostly exists to allow constrained extensions on generic types where an associatedtype is an Optional<T>.

Topics

Associated Types

Instance Properties

  • wrapped
    Returns the wrapped type, if it exists.

Type Methods

Relationships

Inherits From

Conforming Types