identity<T> function

T identity<T>(
  1. T i
)

A function that always returns the same value that was used as its argument.

Implementation

T identity<T>(T i) => i;