Changes

Jump to navigation Jump to search
1 byte added ,  17:48, 22 October 2018
m
Fixed link to Wikipedia ternary_if
==Ternary If==
The [https://en.wikipedia.org/wiki/%3F : ternary if] operator provides a short syntax for conditions. It is also called '''conditional operator''' or '''ternary operator'''. In most languages the syntax is <code>a ? b : c</code>. As <code>?</code> and <code>:</code> have already been taken in XQuery, the Perl 6 syntax is used:
<pre class="brush:xquery">
administrator, Bureaucrats, editor, reviewer, Administrators
57

edits

Navigation menu