function getPropertyType(target): Type
Return the type of the property or the model itself.
target
ModelProperty
Scalar
Type