concept identity function in category kotlin
appears as: identity function, n identity function

This is an excerpt from Manning's book The Joy of Kotlin.
A neutral element is only neutral for a given operation. For integer addition, 1 is not neutral, and for multiplication, 0 is even less neutral. Here, I’m speaking of a neutral element for function composition. This specific function is a function returning its argument. For this reason, it’s called the identity function. By extension, the term identity element is often used instead of neutral element for operations such as addition multiplication or string concatenation. The identity function in Kotlin can be expressed simply: