---
jsApi: true
title: "[F] isTemplateDeclarationOrInstance"

---
```ts
isTemplateDeclarationOrInstance(type): boolean
```

Resolve if the type was created from a template type or is a template type declaration.

## Parameters

| Parameter | Type |
| :------ | :------ |
| `type` | [`TemplatedType`](Type.TemplatedType.md) |

## Returns

`boolean`
