You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

merge_unique()

Usage

merge_unique(object...)

Description
Merges collections and objects into a single collection, removing duplicates. This method is very similar to merge() except that the resulting collection will not contain duplicate entries.

Example

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

results in

[1.0, 2.0, 3.0, 4.0, 5.0, 6.0]

Search results for "merge_unique()"

merge_unique()

Merges collections and objects into a single collection, removing duplicates. This method is very similar to merge() except that the resulting collection will not contain duplicate entries.

merge_unique(object...)