• Returns a leaf associated with the key, or null if there's no such key.

    Returns

    A leaf in the trie, or null if there's no such key.

    Type Parameters

    • T

      The value stored in a trie.

    Parameters

    • trie: Trie<T>

      The trie to search in.

    • key: string

      The key to retrieve.

    Returns Trie<T> | null

Generated using TypeDoc