zipWith<B> method

Iterable<(A, B)> zipWith<B>(
  1. Iterable<B> other
)

Creates an iterable of Product2<A, B> by pairing up equally positioned items from both iterables this and other. The returned iterable is truncated to the length of the shorter of the two iterables.

Implementation

Iterable<(A, B)> zipWith<B>(Iterable<B> other) => zip2(this, other);