 | EventPropertyGetterIsExistsProperty Method |
Returns true if the property exists, or false if the type does not have such a property.
Useful for dynamic properties of the syntax "property?" and the dynamic nested/indexed/mapped versions.
Dynamic nested properties follow the syntax "property?.nested" which is equivalent to "property?.nested?".
If any of the properties in the path of a dynamic nested property return null, the dynamic nested property
does not exists and the method returns false.
For non-dynamic properties, this method always returns
true since a getter would not be available unless
Namespace:
com.espertech.esper.common.client
Assembly:
NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntaxbool IsExistsProperty(
EventBean eventBean
)
Parameters
- eventBean
- Type: com.espertech.esper.common.clientEventBean
is the event to check if the dynamic property exists
Return Value
Type:
Boolean
indictor whether the property exists, always true for non-dynamic (default) properties
See Also