Class: WildcardPattern
Represents a wildcard pattern (_), which matches anything and discards the value.
Example
ts
const _ x = xConstructors
Constructor
new WildcardPattern(
loc?):WildcardPattern
Parameters
| Parameter | Type |
|---|---|
loc? | SourceLocation |
Returns
WildcardPattern
Inherited from
ASTNode.constructor