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

    Function getFirstTokenOfType

    • Get the first token of a given type.

      Parameters

      • tokens: IToken[]

        A list of tokens.

      • type: string

        The type name of the token.

      Returns IToken

      The last token of the given type, if it exists, undefined otherwise.