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

# {{#checkIfAll}} helper

- URL: https://getpublii.com/dev/checkifall-helper/
- Published: 2017-08-04T22:28:41.122Z
- Updated: 2024-02-08T09:39:34.108Z
- Description: Block helper for creating conditions where all elements are connected using AND operator. Syntax: {{#checkIfAll 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 AND operator.

Syntax:

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

**Example:**

```handlebars
{{#checkIfAll author author.avatar author.name}}
<img src="{{author.avatar}}" alt="{{author.name}}" />
{{/checkIfAll}}
```
