> 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/callables/callables.with_arg_type.md).

# Callables.with\_arg\_type()

`with_arg_type(`*`arg_type: str`*`,`` `*`sensitivity: bool = True`*`) →` [`Callables`](/glider-ide/api/callables.md)

Adds a filter to get callables having specified argument type like "address" or even non-elementary types like structs. Returns a filtered [Callables](/glider-ide/api/callables.md) child object. This method can be called on all [Callables](/glider-ide/api/callables.md) child classes: [Functions](/glider-ide/api/functions.md) and [Modifiers](/glider-ide/api/modifiers.md).

To filter given a list of argument types, refer to [Callables.with\_arg\_types()](/glider-ide/api/callables/callables.with_arg_types.md).

*Note that the function will handle alias types, e.g. if uint256 is passed to the function, the results will also include the alias "uint" variables*

### Functions Example

```python
from glider import *

def query():
  # Retrieve the functions that have `Order` as one of their argument types
  functions = Functions().with_arg_type("Order").exec(100)

  # Return the first five functions
  return functions[:5]
```

Output:

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FcDXY2pgQmp3rbVkmoyPb%2Fimage.png?alt=media&amp;token=889cd59d-4511-481d-8919-d271825224e6" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve the modifiers that have `Set` as one of their argument types
  modifiers = Modifiers().with_arg_type("State").exec(100)

  # Return the first five modifiers
  return modifiers[:5]
```

Output:

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FY3jitULx13ignMCm7EGZ%2Fimage.png?alt=media&amp;token=303a57c6-3858-4d02-b23a-dc07949943c1" alt=""><figcaption></figcaption></figure>
