> 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/function/function.return_tuple.md).

# Function.return\_tuple()

`return_tuple() → Tuple[Type, List[`[`Value`](/glider-ide/api/value.md) `|`[`NoneObject`](/glider-ide/api/internal/noneobject.md)`]]`

Returns the function's `return (type, value)` tuples.

## Query Example

```python
from glider import *

def query():
  # Fetch a list of functions
  functions = Functions().exec(1,4)

  for func in functions:
    # Retrieve the return instructions of the first function
    return_tuple = func.return_tuple()
    print(f"Type is - {return_tuple[0]}")
    for value in return_tuple[1]:
      print(value.expression)

  return functions
```

## Example Output

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