Identity Function

An identity function returns the identical value that was given to it:

Example:

1
2
3
function identityFunction(text: string): string {
return text;
}