View Source recon_map (recon v2.5.3)
Link to this section Summary
Functions
remove all imported definitions, destroy the table, clean up
quickly check if we want to do any record formatting
Limit output to selected keys of a map (can be 'none', 'all', a key or a list of keys). Pattern selects maps to process: a "pattern" is just a map, and if all key/value pairs of a pattern are present in a map (in other words, the pattern is a subset), then we say the map matches and we process it accordingly (apply the limit).
prints out all "known" map definitions and their limit settings. Printout tells a map's name, the matching fields required, and the limit options.
remove a given map entry
rename a given map entry, which allows to to change priorities for matching. The first argument is the current name, and the second argument is the new name.
Link to this section Types
-type limit() :: all | none | atom() | binary() | [any()].
-type map_label() :: atom().
-type pattern() :: map() | function().
Link to this section Functions
-spec is_active() -> boolean().
Limit output to selected keys of a map (can be 'none', 'all', a key or a list of keys). Pattern selects maps to process: a "pattern" is just a map, and if all key/value pairs of a pattern are present in a map (in other words, the pattern is a subset), then we say the map matches and we process it accordingly (apply the limit).
Patterns are applied in alphabetical order, until a match is found.
Instead of a pattern you can also provide a function which will take a map and return a boolean.-spec remove(map_label()) -> true.