Skip to content

This site describes solve-engine 2.44.0, the version npm installs.

builtinTokenCategory

function builtinTokenCategory(tokenType):
| TokenCategory
| undefined;

Defined in: packages/engine/src/language/TokenCategoryMap.ts:447

A token type’s category in the built-in table alone, or undefined. Read as the table’s own key, so a name such as constructor reaches nothing.

ParameterType
tokenTypestring

| TokenCategory | undefined