event() = {list, [{atom(), term()}]}
append/2 | |
fetch/2 | Get the value of a field in an event. |
find/2 | Find the value of a field in an event. |
has/2 | Check if a field exists in an event. |
keys/1 | Get the names of all fields in an event. |
make/2 | Construct an event term. |
merge/2 | |
pairs/1 | Get the name and value of all fields in an event. |
fetch(Key::atom(), Event::event()) -> term()
Get the value of a field in an event. The field is expected to exist in the event.
find(Key::atom(), X2::event()) -> {true, term()} | false
Find the value of a field in an event.
This is equivalent to testing if a field exists using has/2
before accessing the value of the field using fetch/2
.
has(Key::atom(), X2::event()) -> boolean()
Check if a field exists in an event.
keys(X1::event()) -> [atom()]
Get the names of all fields in an event.
make(Term::term(), X2::[list]) -> event()
Construct an event term.
pairs(X1::event()) -> [{atom(), term()}]
Get the name and value of all fields in an event.
Generated by EDoc, May 28 2018, 15:25:56.