> ## Documentation Index
> Fetch the complete documentation index at: https://typewall.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Composition

> Literals, enums, tuples, unions, intersections, and more

TypeWall supports literals, enums, fixed tuples, typed dictionaries, unions, intersections, nullable values, any values, and `None`.

```python theme={null}
from typewall import w

Identifier = w.union((w.int(), w.str().uuid()))
Coordinates = w.tuple((w.float(), w.float()))
Permissions = w.dict(w.str(), w.bool())
```

> [!NOTE]
>
> Union failures retain branch issues. Intersections require compatible parsed outputs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.