powered by
Test if an object is some of the classes implemented in `eventr` package.
is_event(x)is_event_list(x)is_handlers_list(x)is_handler(x)is_dispatcher(x)
is_event_list(x)
is_handlers_list(x)
is_handler(x)
is_dispatcher(x)
any `R` object.
Returns a logical value
# NOT RUN { birth_event <- event( id = 'first-id', type = 'BIRTH', time = '1936-11-09', birth_date = '1936-11-09' ) is_event(birth_event) # }
Run the code above in your browser using DataLab