dkershner6/Switch Case Action
Checks the conditionals-and-values input for the correct one, and if none found, returns default (like a switch case)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| default | The value to be returned if no conditionals match | yes | — |
| conditionals-with-values | A newline delimited conditional array, split by an arrow (=>) | yes | — |
Outputs
| name | description |
|---|---|
| value | The value based on all other logic |