Radix.match

You're seeing just the function match, go back to Radix module for more information.
Link to this function

match(tree, key, type \\ :longest)

View Source

Specs

match(tree(), key(), atom()) :: nil | {key(), value()} | [{key(), value()}]

Retrieve key-value-pair(s) based on specified match type.

  • :exact searches for an exact match for the search key
  • :longest finds the longest matching prefix for key
  • :longer finds all {k,v}-pairs where search key is a prefix of k
  • :shorter finds all {k,v}-parise where k is a prefix of the search key.