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

---
```ts
getPropertyType(target): Type
```

Return the type of the property or the model itself.

## Parameters

| Parameter | Type |
| :------ | :------ |
| `target` | [`ModelProperty`](../interfaces/ModelProperty.md) \| [`Scalar`](../interfaces/Scalar.md) |

## Returns

[`Type`](../type-aliases/Type.md)
