withItem1 method

Tuple2<T1, T2> withItem1(
  1. T1 v
)

Returns a tuple with the first item set to the specified value.

Implementation

Tuple2<T1, T2> withItem1(T1 v) => Tuple2<T1, T2>(v, item2);