TST.get
You're seeing just the function
get
, go back to TST module for more information.
Specs
get( %TST{ item: term(), left: term(), middle: term(), right: term(), value: term() }, String.t() ) :: {:ok | :error, any()}
Get the item stored by the given key.
Returns {:ok, item}
or {:error, msg}
Parameters
- tst: The Ternary Search Trie that is being considered
- key: The key which might have an item associated with it
Examples
# TODO