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

# Callable.end\_if\_instructions()

Returns end\_if instructions of the function/modifier.

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

## Example

```python
from glider import *
def query():
  functions = Functions().exec(100)

  conditional = []
  for function in functions:
    for if_instruction in function.end_if_instructions().exec():
      # For each function, return the conditional (if) instructions
      conditional.append(if_instruction)

  return conditional
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FJh9b7KYzqjeOlYrxu8QP%2Fimage.png?alt=media&amp;token=b76c810f-e639-4a32-bc3e-f0b517966226" alt=""><figcaption></figcaption></figure>
