La fonction append()
ajoute un élément à la fin d'une liste et renvoie cette liste.
Arguments:
- List
<list>
- Element
<any>
Returns:
- List
<list>
Utilisation Courante
Exemple : Calcul direct
uncollect [["a","b"],["c","d"]] as a
uncollect ["X","Y"] as b
return append(a, b)
| append(a, b) |
|---------------|
| ["a","b","X"] |
| ["c","d","Y"] |
Exemple : Multiplier et calculer
uncollect [["a","b"],["c","d"]] as a
uncollect ["X","Y"] as b
with append(a, b) as c
return c
| c |
|---------------|
| ["a","b","X"] |
| ["a","b","Y"] |
| ["c","d","X"] |
| ["c","d","Y"] |