Generalize `in` operator to work on strings and arrays
Open
enhancement
- Dominant language
- Jsonnet
- Stars
- 7.6k
- Forks
- 475
- PR merge metrics
- No merged PRs in 30d
Description
In Python `in` operator can be used to check if a value is an element of an array or if a string is a substring of another string. It's handy, the syntax is elegant and actually I was a bit surprised it doesn't work this way already.
@sparkprime Is there a specific reason for current behavior?
@camh- @chancez
Contributor guide
Assessment
This issue has not been assessed yet.