; account block with a `check` sub-directive. Non-fatal: prints a stderr
; warning if the expression is false but lets elaboration continue. Here
; the posting's commodity is `$`, so the check passes silently.
account Assets:Checking
    check commodity == "$"

2024-01-01 Deposit
    Assets:Checking  $500.00
    Income:Salary
