> 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_memory_type.md).

# Callables.with\_arg\_memory\_type()

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

*`arg_memory_type` can take as arguments: "storage", "memory", "calldata"*

*By default, "memory" is set as the memory type of argument unless stated otherwise explicitly.*

Adds a filter to get callables having specified argument memory type. 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).

### Functions Example

```python
from glider import *

def query():
  # Retrieve the functions that have a storage argument
  functions = Functions().with_arg_memory_type("storage").exec(100)

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

Output:

<figure><img src="/files/5aPlo6HHqwVNch5MJ7Hx" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve the modifiers that have a calldata argument
  modifiers = Modifiers().with_arg_memory_type("calldata").exec(100)

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

Output:

<figure><img src="/files/pt1erJ8OHr1pfkXlVkZ9" alt=""><figcaption></figcaption></figure>
