> 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/instructions/instructions.if_loop_instructions.md).

# Instructions.if\_loop\_instructions()

`if_loop_instructions() →` [`Instructions`](/glider-ide/api/instruction.md)

## Query Example

```python
from glider import *


def query():
  return Instructions().if_loop_instructions().exec(2)
```

## Example Output

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