--- title: "a equals true ? true b, false c" slug: "basic-switch" updated: 2025-11-13T09:20:11Z published: 2025-11-14T02:46:19Z canonical: "docs.lobstersoftware.com/basic-switch" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # a equals true ? true b, false c Prüft, ob **a** den Wert *true* (Boolescher Wert) hat. Falls ja, wird **b** zurückgegeben, ansonsten **c**. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Auf *true* zu prüfender Wert. | | b | Rückgabewert, wenn **a** gleich *true.* | | c | Rückgabewert, wenn **a** ungleich *true.* | ## Beispiel | Parameter a | Parameter b | Parameter c | Ergebnis | | --- | --- | --- | --- | | | stimmt | falsch | falsch | | true | stimmt | falsch | stimmt | | false | stimmt | falsch | falsch |