--- title: "a equals b ? true c, false d" slug: "basic-switch-value" updated: 2025-11-14T04:21:32Z published: 2025-11-14T04:21:32Z canonical: "docs.lobstersoftware.com/basic-switch-value" --- > ## 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 b ? true c, false d Prüft, ob **a** gleich **b** ist. Falls ja, wird **c** zurückgegeben, ansonsten **d**. Der Vergleich ist vom [Datentyp](/v1/docs/intro-concepts-data-types) der Parameter **a** und **b** abhängig (siehe Details dort). ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Vergleichswert 1. | | b | Vergleichswert 2. | | c | Rückgabewert, wenn **a** gleich **b** ist. | | d | Rückgabewert, wenn **a** ungleich **b** ist. | ## Beispiele | Parameter a | Parameter b | Parameter c | Parameter d | Ergebnis | | --- | --- | --- | --- | --- | | 1 | 1 | stimmt | falsch | stimmt | | 1 | 2 | stimmt | falsch | falsch |