# prev\_in

Source: https://zotonic.com/docs/3198/prev_in

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

Language: en



Return the prev page in a menu or collection: `{{ id|prev_in:container_id }}`.

Visits the container itself, then menu children and ordered `haspart` descendants in depth-first order. Invisible subtrees and repeated resources are skipped. Returns `undefined` at the boundary or when the page is not in the container.

License: 

Attribution: 

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