unzip(collections)

Given a collection of collections, returns the respective an array containing the respective values from each inner collection. unzip is equivalent to a matrix transpose.

On collections

Usage

  • unzip(collections)

Related

  • zip(...iterables)

    Returns an array of the respective values in this collection and in each collection provided as an argument.