merge() Function

Takes a variable number of lists and merges them into a single list (or a list of lists) that is the size of the largest list provided.


merge( [list, … ] )

list: (Any Type Array) Variable number of lists to merge into one list.


Any Type


Shorter lists are padded with null entries.

Use this function when you have a looping function referencing a rule or function that takes more than one argument. The order of the argument must match the order of your rule input parameters.


You can experiment with this function in the test box below.

Test Input

merge({1, 2, 3}, {4, 5, 6}) returns 1, 4, 2, 5, 3, 6

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page