> 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/logical/or.md).

# or

## Description

'or' operator is a boolean operator that returns true if either operand is true and returns false otherwise.

## Input / Parameter

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

## Output

| Description                                                       | Output Type |
| ----------------------------------------------------------------- | ----------- |
| Returns true if either operator is true, returns false otherwise. | Boolean     |

## Callback

N/A

## Video

Coming Soon.

## Example

The user wants to check if either of the values is true and print the result in the console.

### Step

1. Call the `console` function. Call the `or` function inside the `value` parameter of the `console` function.\
   value1 : false\
   value2 : false<br>

   ![](/files/cXHuAqTq9aw77HWt7mJ2)

   ![](/files/KT6X57xFlR0XgwurCvT7)

### Result

The console will print false since neither value of the `or` function is true.

## Links
