RecordOfValuesExtension4<T1, T2, T3, T4> extension

Extension on a Record with 4 positional values.

on
  • (T1, T2, T3, T4)

Properties

first → T1
Returns the first element of this record.
no setter
fourth → T4
Returns the fourth element of this record.
no setter
last → T4
Returns the last element of this record.
no setter
second → T2
Returns the second element of this record.
no setter
third → T3
Returns the third element of this record.
no setter

Methods

map<R>(R callback(T1, T2, T3, T4)) → R
Converts this Record with 4 positional values to a new type R using the provided callback with 4 positional arguments.