Conceptual
Login

Generic Functions

A function whose signature declares type parameters (<T>(x: T) => T) so the relationship between argument and return types is preserved per call. Each call site instantiates the parameters independently, unlike a generic type alias which is instantiated when the type is written.

This Concept is waiting for its first lesson!

A function whose signature declares type parameters (<T>(x: T) => T) so the relationship between argument and return types is preserved per call. Each call site instantiates the parameters independently, unlike a generic type alias which is instantiated when the type is written.

Are you a teacher? Sign in to start contributing.

Sign In