CacheControl / CacheControl/json-rules-engine
Condition for checking param is not falsy?
Open
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 507
- PR merge metrics
- No merged PRs in 30d
Description
I need to ensure a parameter, if provided, does not contain a falsy value (`''`, `0`, `false`, `null`, `undefined`, etc.). As far as I can tell, the "notEquals" operator would be unwieldy because it uses `!==` so I'd have to check each possibility separately. Is that the only built-in way? Must this be a custom operator?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.