Parser.checkEvent

Check if the next event is one of specified types.

If no types are specified, checks if any events are left.

class Parser
bool
checkEvent
@trusted

Return Value

Type: bool

true if the next event is one of specified types, or if there are any events left if no types specified. false otherwise.

Meta