-
First off I know I can solve this by using: But would be nice to just have the basic case work out of the box as well Allowing another passthrough for "(passedVal)" => "(passedVal || passedVal > -1)" would cover index/string/array/object selections still but is there something simple I missed for the above example perhaps? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I am not 100% sure, why there is only |
Beta Was this translation helpful? Give feedback.
I am not 100% sure, why there is only
if (passedVal)
check. There is no specific reason behind it. And your suggestion is okay and worth adding to handle the zero use-case