identity<T> function

T identity<T>(
  1. T y
)

Identity transform.

Causes no changes to data.

Implementation

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