RecordOfValuesExtension5<T1, T2, T3, T4, T5> extension

Extension on a Record with 5 positional values.

on
  • (T1, T2, T3, T4, T5)

Properties

fifth → T5

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

Returns the fifth element of this record.
no setter
first → T1

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

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

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

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

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

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

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

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

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

Returns the third element of this record.
no setter

Methods

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

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

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