idSecond<T1, T2> function
T2
idSecond<T1, T2>(
- T1 t1,
- T2 t2
Returns the second parameter from a function that takes two parameters as input.
Implementation
T2 idSecond<T1, T2>(T1 t1, T2 t2) => t2;