ChemPal Documentation - v1.7.0
    Preparing search index...

    Module constants/fuzzScorers

    Constants

    FuzzScorerFn

    Fuzz-match scorer registry shared between SupplierBase.fuzzyFilter and the Advanced drawer section's override selector. Keys are stored in userSettings.fuzzScorerOverride; when present at search time they replace each supplier's per-class fuzzScorer default.

    Functions

    isFuzzScorerName

    Type guard — narrows an arbitrary string (e.g. out of userSettings) to a valid scorer key, so callers can safely index FUZZ_SCORERS[name].

    Type Aliases

    FuzzScorerName

    Variables

    FUZZ_SCORERS
    FUZZ_SCORER_NAMES

    Ordered list of scorer names for UI option rendering. Kept as a tuple so the select menu preserves the "simple → compound" visual ordering we use in the comparison log.