isProperty(value)
Determines if a specified value is a property.
Returns
The Boolean value true if the specified value is a property.
Parameters
Name | Type | Description | Required |
value | string | An annotated property. | ✅ |
Usage example
In this example, the API returns the Boolean value true since pyName
is a property.
PCore.getAnnotationUtils().isProperty('@P .pyName');
Previous topic getPropertyName(value) Next topic APIs in the AssetLoader class