[F] isTemplateInstance
function isTemplateInstance(type): type is TemplatedType & { templateArguments: Type[]; templateMapper: TypeMapper };
Check the given type is a finished template instance.
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
type | Type |
Returns
Section titled “Returns”type is TemplatedType & { templateArguments: Type[]; templateMapper: TypeMapper }