@kamilmielnik/trie • Docs
@kamilmielnik/trie / TraverseOptions
TraverseOptions:
object
optional
prefix:string
Set the prefix to be applied to all descendants. It should be the prefix represented by the Node at which traversing starts. Defaults to empty string.
optional
sort:boolean
Set to true to visit Nodes in alphabetical order. Defaults to false.
optional
wordsOnly:boolean
Set to true to only visit Nodes representing complete words. Defaults to false.