European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Function isVocabularyID

    • Type guard: checks that a string looks like an EP vocabulary ID.

      Must be at least 3 characters, contain at least one alphanumeric character, and consist only of letters, digits, hyphens, and underscores.

      Example: "eurovoc".

      Parameters

      • value: string

        String to validate

      Returns value is VocabularyID