Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FuzzyListRef

With a Fuzzy List, you can implement a fuzzy searching algorithm. The list stores all the items that can be searched for. With the search method you can then execute the actual fuzzy search which returns a list of all the elements found. This can be used to implement searching in a list of games.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • This constructor is an implementation detail. Do not use this.

    Parameters

    • ptr: number

    Returns FuzzyListRef

Properties

ptr

ptr: number

Methods

search

  • search(pattern: string, max: number): any
  • Searches for the pattern provided in the list. A list of all the matching elements is returned. The returned list has a maximum amount of elements provided to this method.

    Parameters

    • pattern: string
    • max: number

    Returns any

Generated using TypeDoc