# OR

The OR function in Shedmate returns TRUE if any of the specified conditions are true; otherwise, it returns FALSE. It is often used within the IF function to perform logical tests where at least one condition must be met.

### Syntax:

```
IF(OR(condition1, condition2, ...), value_if_true, value_if_false)
```

### Parameters:

{% code overflow="wrap" %}

```
condition1, condition2, ... (mandatory): The conditions to be tested within the OR function. Each condition can be any expression that results in TRUE or FALSE. The function can accept between 1 and 255 conditions.
```

{% endcode %}

{% code overflow="wrap" %}

```
value_if_true (mandatory): The value to be returned if any of the conditions of the OR function is true.
```

{% endcode %}

{% code overflow="wrap" %}

```
value_if_false (required): The value to be returned if all the conditions of the OR function are false.
```

{% endcode %}

### Usage example:

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcQEUYiBt6bbnG_kodZb8PevOAGd5zFB8HdS5UGapbLNywIckuSIvL5AMJ3o0BdhQ6XyBVAK4Wl_f3oNArv6NXGjCQIKjaQEHWJMJclm613QnMs78PDUCOuNBUp4VGZ_jpMYViV8JnMoi7TTemFjgfL7r5H?key=ft9PKSxNRRf2UuAft3mHlg" alt=""><figcaption></figcaption></figure>
