pair<T> function
(T, T)
pair<T>(
- T a,
- T b
Returns the 2-tuple record (a, b).
Implementation
// DIVERGES(d3-array): adapt-array-typed-api, returns a typed (T, T) record
// instead of a 2-element JS array.
@pragma('vm:prefer-inline')
(T, T) pair<T>(T a, T b) => (a, b);