True when the value string is a {…} expression.
(value_str: str)
| 150 | # ── public API ──────────────────────────────────────────────────────────────── |
| 151 | |
| 152 | def is_expression(value_str: str) -> bool: |
| 153 | """True when the value string is a {…} expression.""" |
| 154 | s = value_str.strip() |
| 155 | return s.startswith("{") and s.endswith("}") |
| 156 | |
| 157 | |
| 158 | def _is_placeholder(expr_str: str) -> bool: |
no outgoing calls
no test coverage detected