# #every

Este tipo de helper tiene como utilidad realizar comparación de tipo verdadero o falso, basado en los valores de `Array`.

{% hint style="info" %}
Este helper está diseñado para ser utilizado solamente con `Array.`
{% endhint %}

Habitualmente `#every` lo utilizarás en conjunto con otros helpers.

{% hint style="success" %}
Te recomendamos utilizar este helper especialmente para generar un condicional.
{% endhint %}

#### Datos de ejemplo

```json
{
  "number": 99,
  "name": "John Doe",
  "list": [
    "ABC",
    "DEF"
  ],
  "object": [
    { "name": "ABC" },
    { "name": "DEF" }
  ]
}
```

## Ejemplos de uso

{% hint style="info" %}
Te recomendamos utilizar `#every` en conjunto con otros helpers de comparación como [`#isEqual`](/es-developers/webhooks/helpers/isequal.md), [`#isNot`](/es-developers/webhooks/helpers/isnot.md), [`#includes`](/es-developers/webhooks/helpers/includes.md), etc.
{% endhint %}

```handlebars
{{#every fields}}{{properties.required}}{{/every}}
// Output: true

{{#every fields}}{{#isEqual properties.minlength}}5{{/isEqual}}{{/every}}
// Output: true
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videsk.io/es-developers/webhooks/helpers/every.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
