=Functions=
{{Mark|Introduced with 9.1:}}
==util:if==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|util:if|$codition as item()*, $then as item()*|item()*}}<br/>{{Func|util:if|$codition as item()*, $then as item()*, $else as item()*|item()*}}<br/>
|-
| '''Summary'''
|Alternative writing for the if/then/else expression. If the condition yields false, and if no {{Code|else}} branch is supplied, an empty sequence is returned.
|-
| '''Examples'''
|
* <code>util:if(true(), 123, 456)</code> returns {{Code|123}}.
* <code>util:if(0, 'wrong!')</code> returns an empty sequence.
|}
==util:item-at==
=Changelog=
;Version 9.1
* Added: [[#util:if|util:if]]
;Version 9.0