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

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

Return the type of the property or the model itself.

## Parameters

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

## Returns

[`Type`](Type.Type.md)
