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.

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