# Assign result of conditional to variable

{% embed include file="src/examples/booleans/assign-result-to-variable/src/main.rs" %}
{% embed include file="src/examples/booleans/assign-result-to-variable/out.out" %}


