> ## Content Index
> Fetch the complete content index at: https://getpublii.com/dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# {{#checkIfAny}} helper

- URL: https://getpublii.com/dev/checkifany-helper/
- Published: 2017-08-04T22:12:07.156Z
- Updated: 2024-02-08T11:49:42.556Z
- Description: Block helper for creating conditions where all elements are connected using OR operator. Syntax: {{#checkIfAny ARG\_1 ARG\_2 ARG\_3 ... ARG\_N}} Code displayed when above condition…
- Author: Tomasz Dziuda
- Tags: Helpers

Block helper for creating conditions where all elements are connected using OR operator.

Syntax:

```handlebars
{{#checkIfAny ARG_1 ARG_2 ARG_3 ... ARG_N}}
   Code displayed when above condition is true
{{else}}
   Code displayed when above condition is false
{{/checkIfAny}}
```

**Example:**

```handlebars
{{#checkIfAny author tags}}
   Block displayed if author or tags data are available
{{/checkIfAny}}
```
