has.event {AnalysisPageServer} | R Documentation

## has.event

### Description

Predicate to test if an EventRegistry has an Event of a given name

### Usage

    has.event(registry, event)

### Arguments

`registry` | EventRegistry
`event` | String. Name of the Event.

### Details

Predicate to test if an EventRegistry has an Event of a given name

### Value

Logical

### Author(s)

Brad Friedman

### Examples

    r <- new.event.registry()
    has.event(r, "mouseclick")
    add.event(r, "mouseclick")
    has.event(r, "mouseclick")

[Package AnalysisPageServer version 1.20.0 Index]