WildcardPatternSyntax

A pattern that represent a wildcard.

SyntaxNodesTUVWXYZ.swift:4150
struct WildcardPatternSyntax

Examples

WildcardPatternSyntax matches and ignores any value. For example _ in the example:

for _ in 1...3 {
  // ...
}

Children

  • wildcard: _