> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/comparation/equal.md).

# equal

## Description

The equal to comparison operator. It checks whether two values are equal. The result will return boolean values, true or false.

## Input / Parameter

| Name   | Description                | Input Type | Default | Options | Required |
| ------ | -------------------------- | ---------- | ------- | ------- | -------- |
| value1 | The first value to check.  | Any        | -       | -       | Yes      |
| value2 | The second value to check. | Any        | -       | -       | Yes      |

## Output

| Description                                                     | Output Type |
| --------------------------------------------------------------- | ----------- |
| Returns true if both values are equal, returns false otherwise. | Boolean     |

## Callback

N/A

## Video

Coming Soon.

## Example

The user wants to check the if value 1 is equal to value 2.

### Step

1. Call the function.\
   value1 : 11\
   value2 : 11<br>

   ![](/files/JP3CBDXO9943rWGniKUk)

### Result

true

## Links
