> 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/value/call/call.get_call_type.md).

# Call.get\_call\_type()

Returns the type of the call

`get_call_type() →` [`CallType`](/glider-ide/api/value/call/calltype.md)

The Call represents all types of call values: external, internal, log emit, etc. This function can be used to get the type of the call.

**Query Example**

```python
from glider import *

def query():
    instructions = (
        Instructions()
        .exec(100)
        .filter(lambda x: x.is_call())
    )

    for ins in instructions:
        call = ins.get_value()
        if isinstance(call, Call):
            print(call.get_call_type())

    return instructions
```

**Output**

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FE9wItsXuEe6BjFYuh9Z9%2Fimage.png?alt=media&amp;token=d55913b5-a5d2-4a68-9461-51dbfb4960cc" alt=""><figcaption></figcaption></figure>
