Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 803 Bytes

TraverseOptions.md

File metadata and controls

35 lines (20 loc) · 803 Bytes

@kamilmielnik/trie


@kamilmielnik/trie / TraverseOptions

Type Alias: TraverseOptions

TraverseOptions: object

Defined in: types.ts:16

Type declaration

prefix?

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.

sort?

optional sort: boolean

Set to true to visit Nodes in alphabetical order. Defaults to false.

wordsOnly?

optional wordsOnly: boolean

Set to true to only visit Nodes representing complete words. Defaults to false.