Feature request: {#var: if-zero | if-one | if-two | if-three | else }
Open
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
This is looking increasingly useful rn; essentially an inline switch statement. I suggest using the # modifier to denote it.
The worst thing about it is
```
{#bool: if-false | if-true }
{ bool: if-true | if-false }
```
and
```
{#knot: if-never-seen| if-seen-once | if-seen-twice }
{knot: if-seen | if-not-seen}
```
... but in both cases, the ambiguity isn't too bad, and the usefulness is (hopefully!) fairly apparent!
jon
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.