klyn.code.LanguageProfile.isQueryType
method
public isQueryType(word as String) as Boolean
Description

Checks in $O(1)$ whether word is a contextual query type name.

Parameters
ParameterDescription
wordToken text to test.
Returns

true if word is a query type.

Example
import klyn.code

p = LanguageProfile("klyn", "Klyn").withQueryTypes(["Decimal", "UUID"])
assert p.isQueryType("Decimal")