OptionPattern
public struct OptionPattern : Pattern
A pattern that matches the presence of a value in an optional.
-
Declaration
Swift
public let site: SourceRange -
The expression of the pattern.
Declaration
Swift
public let name: NamePattern.ID -
Undocumented
Declaration
Swift
public init(name: NamePattern.ID, site: SourceRange)
View on GitHub