- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
enum Property Method - API Reference
This method defines a property whose value can only be one of the specified values.
Example#
Type Parameters#
Values
unknown[] | EnumLikeOptionalThe type of possible values. By default, it's
string
.Parameters#
values
ValuesAn array of possible values.
Was this page helpful?