☰std/function/identity Always return the given value. Type signature <T>(x: T) => T Examples identity(5); // ⇒ 5 Try in REPL identity("test"); // ⇒ "test" Try in REPL Questions How to use the identity function?Where and why is identity function useful? TypeScript source • JavaScript source