TST.new

You're seeing just the function new, go back to TST module for more information.

Specs

new() :: %TST{
  item: term(),
  left: term(),
  middle: term(),
  right: term(),
  value: term()
}

Creates an empty ternary search trie data structure

Returns %TST{}

Examples

  iex> TST.new()
  %TST{item: nil, left: nil, middle: nil, right: nil, value: nil}