@maschinenlesbar.org/bundeswahlleiterin-cli
    Preparing search index...

    Function findWahlkreise

    • Wahlkreise by name (contains, folded as every other filter of the client: any case, ß and "SS" alike, NFC, every dash variant as "-", so "Flensburg - Schleswig" finds "Flensburg – Schleswig" and "GIESSEN" finds "Gießen"), Land (a name contains it, or its abbreviation or number: "Sachsen" also matches Niedersachsen and Sachsen-Anhalt, "SN" only Sachsen) or number (leading zeros ignored). A blank name or number, or one of only invisible or control characters, is a BundeswahlValidationError before any request, as for every filter of the client: a blank name used to list every Wahlkreis.

      Parameters

      • client: BundeswahlClient
      • input: { land?: string; name?: string; number?: string } = {}

      Returns Promise<{ total: number; wahlkreise: Wahlkreis[] }>