Skip to contents

Find the first index corresponding to the given event in a list of events. An event is considered equal to another if they have exactly the same variables (though not necessarily in the same order) and these variables have exactly the same values.

Usage

find_event_index(event, event_list)

Arguments

event

The event whose index to identify

event_list

The list of events where event is to be found

Value

The index if found, NULL otherwise