# Equals Block

## Equals Block

![Equals Block](/files/-LNihKomH_5YdEzo74Dk)

The equals block returns true if both inputs are equal.

To specify the blocks comparison type, use the dropdown in the center of the block.

### Generated Code

**=**

```javascript
input1 == input2;
```

## Not Equals Block

![Not Equals Block](/files/-LNixDP1UvlCkFsRW7_T)

The not equals block returns true if both inputs aren't equal.

### Generated Code

**≠**

```javascript
input1 != input2;
```

## Less Than Block

![Less Than Block](/files/-LNihKooqwTjFFQO5rQs)

The less than block returns true if the first input is less than the second input.

### Generated Code

**<**

```javascript
input1 < input2;
```

## More Than Block

![More Than Block](/files/-LNihKoq1GPuW6zH0BYM)

The more than block returns true if the first input is more than the second input.

### Generated Code

**>**

```javascript
input1 > input2;
```

## Less Than or Equal Block

![Less Than or Equal Block](/files/-LNihKos7UvlqX8jRuN9)

The less than or equal block returns true if the first input is less than or equal to the second input.

### Generated Code

**≤**

```javascript
input1 <= input2;
```

## More Than or Equal Block

![More Than or Equal Block](/files/-LNihKouxg2sGY6p42sk)

The less than or equal block returns true if the first input is more than or equal to the second input.

### Generated Code

**≥**

```javascript
input1 >= input2;
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discorddungeons.me/quest-editor/logic-blocks/equals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
