Top "Conditional-statements" questions

In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.

How to create a conditional task in Airflow

I would like to create a conditional task in Airflow as described in the schema below. The expected scenario is …

python conditional-statements airflow
how to use "if" statements inside pipeline

I'm trying to use if inside a pipeline. I know that there is where (alias ?) filter, but what if I …

powershell pipeline conditional-statements statements
How to check if specific resource already exists in CloudFormation script

I am using cloudformation to create a stack which inlcudes an autoscaled ec2 instance and an S3 bucket. For the …

amazon-web-services automation conditional-statements amazon-cloudformation
Make a UIBarButtonItem disappear using swift IOS

I have an IBOutlet that I have linked to from the storyboard @IBOutlet var creeLigueBouton: UIBarButtonItem! and I want to …

swift conditional-statements uibarbuttonitem iboutlet
Wait on multiple condition variables on Linux without unnecessary sleeps?

I'm writing a latency sensitive app that in effect wants to wait on multiple condition variables at once. I've read …

c multithreading pthreads conditional-statements scheduling
LaTeX \newcommand default argument: is empty?

I'm trying to write a simple example command that prints nothing without an argument, but with an argument it surrounds …

latex conditional-statements if-statement
Check if multiple values are all false or all true

How can I check if 20 variables are all true, or if 20 variables are all false? if possible without using a …

php conditional boolean conditional-statements boolean-logic
Execution order of conditions in C# If statement

There are two if statements below that have multiple conditions using logical operators. Logically both are same but the order …

c# .net conditional-statements logical-operators short-circuiting
Ruby - Using multiple conditions on a single line

So, I'm running into this issue wherein I want to have three conditions be checked before the routine continues, but …

ruby if-statement conditional-statements multiple-conditions