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

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

Return the type of the property or the model itself.

## Parameters

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

## Returns

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