> For the complete documentation index, see [llms.txt](https://docs.discorddungeons.me/quest-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discorddungeons.me/quest-editor/logic-blocks/equals.md).

# 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;
```
