Optimization suggestions for the ternary operator #692
Unanswered
BubbleGarten
asked this question in
General
Replies: 1 comment
-
I think this is a playground error. it makes subscription array - strict. I need to update playground rules what if array is empty any fields are allowed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After evaluating the expression following the question mark, there is no need to evaluate the expression following the colon. This is because I believe that such an overall expression is more intuitive:
Beta Was this translation helpful? Give feedback.
All reactions