Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/pipeable

Index

Functions

Const add

Const has

  • has(word: string): (trie: Trie) => boolean
  • A curried version of has

    see

    has

    Parameters

    • word: string

    Returns (trie: Trie) => boolean

      • (trie: Trie): boolean
      • Parameters

        Returns boolean

Const hasPrefix

  • hasPrefix(word: string): (trie: Trie) => boolean

Const remove

  • remove(word: string): (trie: Trie) => Trie

Const search

  • search(query: string): (trie: Trie) => string[]
  • A curried version of search

    see

    search

    Parameters

    • query: string

    Returns (trie: Trie) => string[]

      • (trie: Trie): string[]
      • Parameters

        Returns string[]

Generated using TypeDoc