# is\_even

Source: https://zotonic.com/docs/1953/is_even

URI: https://zotonic.com/id/1953

Language: en



Test if an integer value is even:

```django
{% if 2|is_even %}Yes, the number 2 is even{% endif %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1953?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1953?language=en>)
