list.insert-nth()
The insert-nth()
function returns the $list
with $value
inserted into index $n
.
Parameters
$list
$list
The list to insert $value
at index $n
.
$n
$n
The index $n
under which $value
is inserted.
$value
$value
The value to insert at the $n
index.
Return
The return value is the list with the inserted $value
at the $n
index.
Examples
Last updated