Skip to content

Commit

Permalink
Merge pull request #2915 from vespa-engine/bratseth/specify-output
Browse files Browse the repository at this point in the history
Specify output
  • Loading branch information
Jon Bratseth authored Oct 1, 2023
2 parents a99480b + 852432c commit 8e39837
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions en/reference/indexing-language-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ <h3 id="other">Other expressions</h3>
</tr>
<tr>
<td><code>
if&nbsp;(&lt;lhs&gt;&nbsp;&lt;cmp&gt;&nbsp;&lt;rhs&gt;)&nbsp;{<br/>
if&nbsp;(&lt;left&gt;&nbsp;&lt;cmp&gt;&nbsp;&lt;right&gt;)&nbsp;{<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;trueScript&gt;<br />
}<br />
[&nbsp;else&nbsp;{&nbsp;&lt;falseScript&gt;&nbsp;}&nbsp;]
Expand All @@ -479,7 +479,9 @@ <h3 id="other">Other expressions</h3>
<p id="if">
Executes the <code>trueScript</code> if the conditional evaluates to true,
or the <code>falseScript</code> if it evaluates to false.
If either <code>lhs</code> or <code>rhs</code> is null, no expression is executed.
If either <code>left</code> or <code>right</code> is null, no expression is executed.
The value produced is the value returned from the chosen branch, and these must
produce values of compatible types (or none).
</p>
</td>
</tr>
Expand Down

0 comments on commit 8e39837

Please sign in to comment.