Appearance
Returns the same value as the given argument.
Signature:
declare function identity<T>(a: T): T;
identity(5); // 5
Open Source Code