> 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/callable/callable.name.md).

# Callable.name

Returns the function's or modifier's name.

`property: name -> str`

## Example

```python
from glider import *
def query():
  contracts = Contracts().exec(1)

  contracts_with_callables = []
  for c in contracts:
    for function in c.functions().exec():
      print(f"contract name: {c.name} | function name: {function.name}")

    for modifier in c.modifiers().list():
      print(f"contract name: {c.name} | function name: {modifier.name}")

  return contracts
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FwtBrEixWrqe247VGrj6v%2Fimage.png?alt=media&amp;token=42d35c78-c859-4b94-aadf-c1235ce6d203" alt=""><figcaption></figcaption></figure>
