• Returns the cached readonly array of trie leafs that have keys starting with input.substring(startIndex, endIndex).

    Returns

    The cached readonly array of leafs or null if there's no matching key.

    Type Parameters

    • T

      The value stored in a trie.

    Parameters

    • trie: Trie<T>

      The trie root.

    • input: string

      The string to search for the key from the trie.

    • Optional startIndex: number = 0
    • Optional endIndex: number = input.length

    Returns readonly Trie<T>[] | null

Generated using TypeDoc