if...else - WebAssembly | MDN

The if statement executes a statement if the last item on the stack is true (non-zero). If the condition is false (0), another statement can be executed.