> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/enum/enum.max.md).

# Enum.max

Returns the maximum value of the enum.

*`property`*` ``max:`` `*`int`*

## Query Example

```python
from glider import *

def query():
    contracts = Contracts().exec(1, 71)

    for enum in contracts[0].enums().exec():
      print(enum.max)

    return []
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FASqdEfJSvpMr8qhNuLRU%2FScreenshot%202025-07-25%20at%206.22.46%E2%80%AFPM.png?alt=media&amp;token=2ca154f4-66e2-4013-a69c-aa8b8ee28b57" alt=""><figcaption></figcaption></figure>
