Question d’entretien chez Walt Disney Company

How do you create an if/else>then push function?