@check
The @check
attribute in BAML adds validations without raising exceptions if they fail. This allows the validations to be inspected at runtime.
Usage
Field Check
BAML
Block check
Benefits
- Non-Intrusive Validation: Allows for validation checks without interrupting the flow of data processing.
- Runtime Inspection: Enables inspection of validation results at runtime.
See more in validations guide.