Skip to content

identity<T>

T identity<T>(T t)

Returns its argument unchanged.

Useful as a no-op function value wherever a Function1 is required.