• This function returns whether all values resolve to true.

    Example

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

    Parameters

    • Rest ...values: any[]

      Array of value

    Returns boolean

    true if all values resolve to true, otherwise false