@faubulous/mentor-rdf-parsers
    Preparing search index...

    Function hasTokenFlag

    • Helper function to check if a token has a specific metadata flag.

      Parameters

      • tokenTypeName: string

        The name of the token type

      • flag: keyof TokenMetadata

        The metadata flag to check (e.g., 'isKeyword', 'isMajorClause')

      Returns boolean

      True if the token has the flag set to true