Skip to main content

ZIP

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Combine elements of two collections. The collection produced has the same length as the shortest of the two.

Syntax
ZIP(<collection>, <collection>)
Example
zip([1,2], [2,3,4]) // [(1,2),(2,3)]