> 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/instruction/instruction.get_value.md).

# Instruction.get\_value()

Returns the Instruction's Value object.

`get_value() ->` [`Value`](/glider-ide/api/value.md) `|` [`NoneObject`](/glider-ide/api/internal/noneobject.md)

## Query Example

```python
from glider import *

def query():
    instructions = Instructions().exec(2,1)
    results = []
    
    for inst in instructions: 
        print(inst.get_value())

    return instructions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F5gd6uPLIxYGAhkOMa7BV%2Fimage.png?alt=media&amp;token=ad76ff43-33ad-40fa-8830-1935c6b20c36" alt=""><figcaption></figcaption></figure>
