?? Presidence #2625
Answered
by
yaakov-h
TonyValenti
asked this question in
Language Ideas
?? Presidence
#2625
-
Hi All,
Is there a way for me to rewrite my IF statement so that I don't need the extra parenthesis? |
Beta Was this translation helpful? Give feedback.
Answered by
yaakov-h
Jul 1, 2019
Replies: 2 comments
-
Potentially with #1350, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YairHalberstadt
-
You could write it as: if (!SourceDataModel?.TextSnippets?.Any() ?? true) {
....
} |
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
Potentially with #1350,
SourceDataModel?.TextSnippets?.Count is 0 or null
?