getPropertyName(value)
Obtains the name of an annotated property.
Returns
The name of the annotated property as a string.
Parameters
Name | Type | Description | Required |
value | string | An annotated property. | ✅ |
Usage example
In this example, the API returns pyName
as the name of the
property.
PCore.getAnnotationUtils().getPropertyName('@P .pyName');
Previous topic APIs in the AnnotationUtils class Next topic isProperty(value)