vira - v33.8.0
    Preparing search index...

    Function fuzzyMatch

    • Checks if every non-whitespace character of search appears in text, in order, ignoring case. An empty search matches everything.

      Parameters

      • __namedParameters: Readonly<{ search: string; text: string }>

      Returns boolean

      fuzzyMatch({search: 'opa', text: 'Option A'}); // true
      fuzzyMatch({search: 'apo', text: 'Option A'}); // false