# element

Source: https://zotonic.com/docs/1345/element

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

Language: en



Select an element from a tuple or list of tuples.

For example:

```django
{{ value|element:1 }}
```

When value is a list of tuples `[{312,0.34}, {200,0.81}]` then the output is the list `[312,200]`.

When value is just a tuple, `{123, 22, 11}`, the output of `|element:1` is `123`.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1345?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/1345?language=en>)
