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

    Function isGroupID

    • Type guard to check if a string is a valid Political Group ID

      Parameters

      • value: string

        String to validate

      Returns value is GroupID

      true if the value matches Group ID format

      if (isGroupID("EPP")) {
      const id = "EPP" as GroupID;
      }