Add Variable Declaration for "is not null" #4071
Answered
by
YairHalberstadt
TonyValenti
asked this question in
General
-
Here's the flow I want to write:
Is there a way to do that? Right now I'm doign this:
But I'd prefer to not have to have the |
Beta Was this translation helpful? Give feedback.
Answered by
YairHalberstadt
Oct 26, 2020
Replies: 1 comment 2 replies
-
This looks wrong. Did you mean: if(!(Result?.Headers?.BulkAction?.ID is not null BulkActionID)){
throw new BulkActionFailedToStartException();
}
//BulkActionID is Definitely assigned.
Console.WriteLine(BulkActionID); ? In which case you can currently do: if(Result?.Headers?.BulkAction?.ID is not {} BulkActionID){
throw new BulkActionFailedToStartException();
}
//BulkActionID is Definitely assigned.
Console.WriteLine(BulkActionID); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
TonyValenti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks wrong. Did you mean:
?
In which case you can currently do: