Conceptual
Login

Generic Type Parameters

A type parameter (T in Array<T>) is a placeholder type bound at use-site rather than declaration-site, letting one declaration relate its inputs and outputs without collapsing to any. Each instantiation substitutes a concrete type argument for the parameter everywhere it appears.

This Concept is waiting for its first lesson!

A type parameter (T in Array<T>) is a placeholder type bound at use-site rather than declaration-site, letting one declaration relate its inputs and outputs without collapsing to any. Each instantiation substitutes a concrete type argument for the parameter everywhere it appears.

Are you a teacher? Sign in to start contributing.

Sign In