Syntactic sugar for conditional control: defining an IF command

I’m using this If else control flow operator