Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

AsConverterMatch

type AsConverterMatch = "exact" | "folded" | "ambiguous" | "prefix" | undefined;

Defined in: packages/engine/src/vm/AsConverterRegistry.ts:25

How an as target matches a registry: "exact" when a converter is registered under that spelling, "folded" when only its lower-cased form is and reading it so changes no prefix, "ambiguous" when the lower-cased form belongs to two spellings (mw), "prefix" when the one spelling it folds to has a prefix of another case (MV for mV), and undefined when nothing is registered.