Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The FuzzyMatch method performs a fuzzy match between two strings to determine their similarity. It compares the query parameter with the stringToCompare parameter and returns a MatchResult object that indicates the result of the comparison.
Parameters
query String
The string to be compared against the stringToCompare parameter.
stringToCompare String
The string to be compared with the query parameter.
opt MatchOption
The options that control the fuzzy matching behavior. This parameter allows you to specify how the fuzzy match should be performed, such as case sensitivity or other matching criteria.
Returns
A MatchResult object that contains the result of the fuzzy match.
Windows developer