---
title: OR
url: https://www.tines.com/docs/formulas/functions/or/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# OR

*[View on tines.com](https://www.tines.com/docs/formulas/functions/or/)*

Returns true if any of the arguments are truthy, otherwise returns false.

**Categories:** Logic

## Syntax

```
OR(value1, value2, ...)
```

## Examples

### Example 1

Input:

```json
{
  "my_action": {
    "value": 5
  }
}
```

Formula:

```
OR(my_action.value>5, my_action.value<100)
```

Output:

```json
true
```

### Example 2

Input:

```json
{
  "my_action": {
    "value": 5
  }
}
```

Formula:

```
OR(my_action.value<5, my_action.value>100)
```

Output:

```json
false
```

## Sample actions

```json
{
  "standardLibVersion": "13",
  "actionRuntimeVersion": "1",
  "agents": [
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "value": 5
        }
      },
      "position": {
        "x": 180,
        "y": 1935
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "OR",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "or": "=OR(my_action.value>5, my_action.value<100)"
        }
      },
      "position": {
        "x": 105,
        "y": 2010
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "OR",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "or": "=OR(my_action.value<5, my_action.value>100)"
        }
      },
      "position": {
        "x": 270,
        "y": 2010
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 2
    },
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 1
    }
  ],
  "diagramNotes": []
}
```
