core.pattern
- description
- Pattern of a match arm. any matches every value, bind matches every value and binds it to the variable, variant matches a variant with the tag whose payload matches the pattern, string / number / boolean match the literal
- type
Type
- expression
Union{ #any, #bind(Record{variable_id: Number, variable_name: String}), #variant(Record{tag: String, payload: @core.pattern}), #string(String), #number(Number), #boolean(Boolean) }- visibility
- public
core.pattern (project definy, branch accept-new-accounts, snapshot XoN1SzeSljKEq7A884S1VlWxMBcoS3Syt0cee07GVH0) id: UkSdB5So0iz5z3ZFUHww0Okujc04NzND-BA2R75KpJs content hash: tYGzzZVYQiWx0-1Ky5ryiH2gzJNY2WwQVVpY75yrTuA