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

# Instruction.is\_throw()

`is_throw()` -> `bool`

## Query Example

```python
from glider import *


def query():
  return (
    Functions()
    .with_name("BliBliToken")
    .exec(1)
    .instructions()
    .exec()
    .filter(lambda x: x.is_throw())
  ) 
```

With the Glider 1.0 update, calling the [`exec`](/glider-ide/api/instructions/instructions.exec.md) function returns an [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Instruction`](/glider-ide/api/instruction.md)`]`. You can then use [`Instruction`](/glider-ide/api/instruction.md) functions, which are applied to each element of the [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Instruction`](/glider-ide/api/instruction.md)`]`

## Example Output

<figure><img src="/files/6Cc57KuF88szh3JUziae" alt=""><figcaption></figcaption></figure>
