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

    Function isCommitteeID

    • Type guard to check if a string is a valid Committee ID

      Parameters

      • value: string

        String to validate

      Returns value is CommitteeID

      true if the value matches Committee ID format

      if (isCommitteeID("DEVE")) {
      const id = "DEVE" as CommitteeID;
      }