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

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-aa1087e57dee5bad17a0cfc6b3197c73ada3c817%2For-step-1.png?alt=media)

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-1c76d21a37002cec545f56099b9a7cb51baf705d%2For-step-2.png?alt=media)

### Result

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

## Links
