Skip to contents

Check if the Event Queue is Empty

Usage

queue_empty(ptr, exclude_inf = FALSE)

Arguments

ptr

The event queue pointer. Defaults to cur_evtlist.

exclude_inf

Logical, whether to exclude events with Inf time. Default is FALSE.

Value

Logical, TRUE if the queue is empty, FALSE otherwise.