ifThenElse computed property macro