• This function returns whether all values resolve to true.

    Example

    {{#if (and value1 value1)}}
    <span>Conditional content</span>
    {{/if}}

    Returns

    true if all values resolve to true, otherwise false

    Parameters

    • Rest ...values: any[]

      Array of value

    Returns boolean