RecordOfValuesExtension4<T1, T2, T3, T4> extension

Extension on a Record with 4 positional values.

on
  • (T1, T2, T3, T4)

Properties

first → T1

Available on (T1, T2, T3, T4), provided by the RecordOfValuesExtension4 extension

Returns the first element of this record.
no setter
fourth → T4

Available on (T1, T2, T3, T4), provided by the RecordOfValuesExtension4 extension

Returns the fourth element of this record.
no setter
last → T4

Available on (T1, T2, T3, T4), provided by the RecordOfValuesExtension4 extension

Returns the last element of this record.
no setter
second → T2

Available on (T1, T2, T3, T4), provided by the RecordOfValuesExtension4 extension

Returns the second element of this record.
no setter
third → T3

Available on (T1, T2, T3, T4), provided by the RecordOfValuesExtension4 extension

Returns the third element of this record.
no setter

Methods

map<R>(R callback(T1, T2, T3, T4)) → R

Available on (T1, T2, T3, T4), provided by the RecordOfValuesExtension4 extension

Converts this Record with 4 positional values to a new type R using the provided callback with 4 positional arguments.