Checks whether an event with the given name has been sent.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean smartlet.events.exists(string eventName)
boolean smartlet.events.exists(string eventName, string propertyName)

Parameters

Name Data Type Description
eventName String Name of the event.
propertyName String Name of the property.

Return Value

Data Type Description
Boolean Boolean
SXML