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

# Callable.if\_loop\_instructions()

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

The function returns [Instructions](/glider-ide/api/instructions.md) that represent the condition part in loop operators. It will return for all types of loops e.g. while and for

## Example

```python
from glider import *
def query():
  functions = Functions().without_modifier_names(["onlyOwner"]).exec(100)

  if_loop_instructions = []
  for function in functions:
    # For each function without an "onlyOwner" modifier, return the if loop instructions
    for instruction in function.if_loop_instructions().exec():
      if_loop_instructions.append(instruction)

  return if_loop_instructions
```

## Example output

<figure><img src="/files/1BFpLB5enWVNJZCOcrnM" alt=""><figcaption></figcaption></figure>
