> 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/ifinstruction/condition/condition.is_eq.md).

# Condition.is\_eq()

Returns true if it is an equality check, otherwise returns false.

`is_eq() -> bool`

## Query Example

```python
from glider import *

def query():
  instructionlist = Instructions().if_instructions().exec(1)
  
  condition = instructionlist[0].get_condition()
  print(condition.is_eq())
  return instructionlist
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FeQDEMAYYr383gbq6zDNb%2Fimage.png?alt=media&amp;token=4656b4b9-2fd9-48cb-ae60-be6d0a1faacc" alt=""><figcaption></figcaption></figure>
