> 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/variables/localvariables/localvariable/localvariable.memory_property.md).

# LocalVariable.memory\_property

Returns the memory type of the local variable.

`property memory_type: str`

## Query Example

```python
from glider import *


def query():
  functions = (
    Functions()
    .with_name("communityMint")
    .exec(1)
  )

  for func in functions:
    local_vars = func.local_variables().list()
    for local_var in local_vars:
      print(local_var.memory_type)

  return functions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2Fyx722TcDnJn3J83JsHkC%2FScreenshot%202025-09-10%20at%204.05.37%E2%80%AFPM.png?alt=media&amp;token=7c01f795-672d-4ec6-b0b7-6841cf48ff4a" alt=""><figcaption></figcaption></figure>
