Property :: isProperty - Is property a property with the name passed?
The function returns, whether the current property is a property with the name passed in sPropertyName.
For transient properties, the function checks the property name for the transient property, but not the property name referenced in a transient property.
The function returns true, when names are equal or false otherwise. The property throws an exception, when the property handle is not valid.
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation details
- sPropertyName
- Property name
The property name may contain a property path that consists of a sequence of property names. Not allowed are operation paths or path properties, i.e. the property name must consist of identifiers separated by dots (.), only.
In order to pass no property name, an empty string ( String() ) has to be passed.