Returns the value passed in, preserving its type.
identity(1) // => 1identity('a') // => 'a'identity(true) // => true Copy
identity(1) // => 1identity('a') // => 'a'identity(true) // => true
The type of the value to return.
The value to return.
The value passed in.
Returns the value passed in, preserving its type.
Example