Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 819 Bytes

TraverseOptions.md

File metadata and controls

37 lines (21 loc) · 819 Bytes

@kamilmielnik/trieDocs


@kamilmielnik/trie / TraverseOptions

Type Alias: TraverseOptions

TraverseOptions: object

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.

Defined in

types.ts:16