Changes

Jump to navigation Jump to search
No change in size ,  14:53, 16 November 2023
m
Reorder
=Functions=
 
==array:append==
 
{| width='100%'
| width='120' | '''Signature'''
|<pre>array:append(
$array as array(*),
$member as item()*
) as array(*)</pre>
|- valign="top"
| '''Summary'''
| Returns a copy of {{Code|$array}} with {{Code|$member}} attached.
|- valign="top"
| '''Examples'''
|
* <code>array:append([], 'member1')</code> returns the array {{Code|["member1"]}}.
|}
==array:build==
|
* <code>array:get(array { reverse(1 to 5) }, 5)</code> returns the value {{Code|1}}.
|}
 
==array:append==
 
{| width='100%'
| width='120' | '''Signature'''
|<pre>array:append(
$array as array(*),
$member as item()*
) as array(*)</pre>
|- valign="top"
| '''Summary'''
| Returns a copy of {{Code|$array}} with {{Code|$member}} attached.
|- valign="top"
| '''Examples'''
|
* <code>array:append([], 'member1')</code> returns the array {{Code|["member1"]}}.
|}
administrator, Bureaucrats, editor, reviewer, Administrators
57

edits

Navigation menu