Function prototype: Difference between revisions

Content added Content deleted
(→‎{{header|jq}}: mutually recursive functions)
m (→‎{{header|jq}}: Corrected syntax highlighting.)
Line 973: Line 973:
def Vararg(a; v):
def Vararg(a; v):
v as [$a1, $a2] .... # if v is an array, then $a1 will be the first item specified by v, or else null, and so on
v as [$a1, $a2] .... # if v is an array, then $a1 will be the first item specified by v, or else null, and so on
<syntaxhighlight lang=jq>
</syntaxhighlight>



=={{header|Julia}}==
=={{header|Julia}}==