# Liquid flow control: case/when

* case
* when
* endcase

* the `case` statement ends with `endcase`.

{% embed include file="src/examples/liquid/liquid-case-when/src/main.rs" %}
{% embed include file="src/examples/liquid/liquid-case-when/out.out" %}


