RecordOfValuesExtension2<T1, T2> extension
Extension on a Record with 2 positional values.
- on
-
- (T1, T2)
Properties
- first → T1
-
Available on (T1, T2), provided by the RecordOfValuesExtension2 extension
Returns the first element of this record.no setter - last → T2
-
Available on (T1, T2), provided by the RecordOfValuesExtension2 extension
Returns the last element of this record.no setter - second → T2
-
Available on (T1, T2), provided by the RecordOfValuesExtension2 extension
Returns the second element of this record.no setter
Methods
-
map<
R> (R callback(T1, T2)) → R -
Available on (T1, T2), provided by the RecordOfValuesExtension2 extension
Converts this Record with 2 positional values to a new typeRusing the providedcallbackwith 2 positional arguments.