# Property types

Source: https://amplitude.com/docs/data/update-property-data-type

---

# Property types

Because it uses type checking for event and user property values, Amplitude can detect when event data it receives doesn’t match the specified type. You can set and edit the data type of an event or user property — for example, from a string to a Boolean. This can be useful as your data and analysis needs shift and expand over time.

To edit the data type of a user property, follow these steps:

1. Click the property’s name to open the details panel.

2. Select the property’s new data type from the *Type* drop-down. Your options are:

   - `String`: A string value
   - `Number`: Numerical values (like 12345)
   - `Boolean`: Values representing Boolean states ("true"/ "false", "yes" / "no", "0" / "1")
   - `Array`: A collection of values stored in a single property (for example, \["apple", "banana", "strawberry"] or \[1, 2, 3])
   - `Enum`: One of a set of possible values. (for example, property fruit is one of \[apple, banana, strawberry])
   - `Const`: Set as a constant
   - `Any`: Any value

Was this helpful?

<!--$-->

<!--/$-->
