docsdeveloper-guidevariablestestoddoddContribute Edit this page Join us on Slack GitHub Twitter LinkedInThe odd test checks if an integer is odd.twig{% if 3 is odd %} ... {% endif %}TestNullVariablesDeprecated Handlebars