docs: Can I show or hide text based on whether a list item has been selected
Open
documentation
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
I have a list of values as a variable / parameter
```
platforms:
type: array
values:
- macos
- web
- android
default:
- macos
prompt: platforms
```
Can I check whether that the item has been selected or not?
```
{{#if platforms contains 'macos'}}
# Code that should only be executed on macOS
{{/if}}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.