EU Parliament Monitor - API Documentation - v0.7.15
    Preparing search index...
    • Detect whether a list of committee data entries are all fallback/default placeholders.

      A committee entry is considered a placeholder when the MCP fetch produced no real data — i.e. chair is still the sentinel 'N/A', members is 0, and the documents list is empty. This typically happens when the MCP server is unavailable and fetchCommitteeData returns the defaultResult unchanged.

      Returns true only when:

      • the list is non-empty and
      • every committee entry matches all three placeholder criteria.

      An empty list returns false so that a genuine zero-committee scenario is still rendered (the caller can decide how to handle it).

      Parameters

      • committees: readonly CommitteeData[]

        Committee data entries to inspect

      Returns boolean

      true when all entries are default/placeholder data; false otherwise