Changes

Jump to navigation Jump to search
655 bytes added ,  15:25, 16 November 2023
Added array:foot
}
</syntaxhighlight>
|}
 
==array:foot==
 
{| width='100%'
| width='120' | '''Signature'''
|<pre>
array:foot(
$array as array(*)
) as item()*
</pre>
|- valign="top"
| '''Summary'''
| Returns the last member of an array, that is {{Code|$array(array:size($array))}}.
|- valign="top"
| '''Examples'''
|
 
<ul>
<li>
<code>array:foot([5, 6, 7, 8])</code>
returns
<code>8</code>
</li>
<li>
<code>array:foot([["a", "b"], ["c", "d"]])</code>
returns
<code>["c","d"]</code>
</li>
<li>
<code>array:foot([("a", "b"), ("c", "d")])</code>
returns 2 results
<code>"c"</code> and <code>"d"</code>
</li>
</ul>
|}
* Added: {{Function||array:build}}
* Added: {{Function||array:foot}}
;Version 8.6
administrator, Bureaucrats, editor, reviewer, Administrators
57

edits

Navigation menu