Returns boolean if the array contains the element strictly or non-strictly.
The array.
The value to be checked for existence in the array.
FALSE for non-strict checking. TRUE by default.
Returns true if the array contains the specified value, false otherwise.
{{includes [1, 2, 3] 2}}{{includes [1, 2, 3] 2 true}}{{#if (includes [1, 2, 3] 2)}}...{{/if}}{{ifx (includes [1, 2, 3] 2) true false}} Copy
{{includes [1, 2, 3] 2}}{{includes [1, 2, 3] 2 true}}{{#if (includes [1, 2, 3] 2)}}...{{/if}}{{ifx (includes [1, 2, 3] 2) true false}}
Returns boolean if the array contains the element strictly or non-strictly.