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

# Instructions.end\_if\_instructions()

Returns an Instructions object for the 'end if' instructions.

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

## Query Example

```python
from glider import *


def query():
  return Instructions().end_if_instructions().exec(1)
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FsomlBa47JIS8tZJ4z9ZQ%2Fimage.png?alt=media&amp;token=130d3dda-30f1-480e-9b65-b655243a9177" alt=""><figcaption></figcaption></figure>
