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

# Literal.value

Returns the value of the literal.

## Query Example

```python
from glider import *


def query():
    functions = (
        Functions()
        .with_name("mul")
        .exec(1)
    )
    instructions = functions[0].instructions().exec()
    for instruction in instructions:
        for component in instruction.get_components():
            if isinstance(component, Literal):                  
                print(component)
                print(component.value)

              
    return [instructions[0]]
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FJp89YaDjO5elkhQvTIkd%2FScreenshot%202025-09-09%20at%2012.21.55%E2%80%AFPM.png?alt=media&amp;token=fea67921-fb9f-4d24-87db-67d6899d0a83" alt=""><figcaption></figcaption></figure>
