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

# Instruction.get\_dest()

`get_dest() →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Value`](/glider-ide/api/value.md) `|` [`NoneObject`](/glider-ide/api/internal/noneobject.md)`]`

For the function:

```solidity
function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }
```

The instruction:

```solidity
result += 64;
```

Will return the `result` variable as an instance of Value-derived class, as the result is a variable, it will be of type Var.&#x20;

## Query Example

```python
from glider import *
def query():
  instruction = Instructions().exec(1,1)
  dests = instruction[0].get_dest()
  for dest in dests:
    print(dest.expression)
      
  return [instruction[0]]
```

## Output

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