--- title: "check-type()" slug: "basic-check-return-type" updated: 2025-11-13T09:17:54Z published: 2025-11-14T02:46:22Z canonical: "docs.lobstersoftware.com/basic-check-return-type" --- > ## 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. # check-type() Prüft, ob der Datentypen des Wertes **a** dem Datentyp entspricht, der in **b** festgelegt wurde. Die Datentyp in **b** werden in Form einer Zahl repräsentiert (siehe folgende Tabelle). | Datentyp | Wert in **b** | | --- | --- | | String | 0 | | Integer | 1 | | Double | 2 | | Date | 3 | | Boolean | 4 | | Float | 5 | | BigDecimal | 6 | | BigInteger | 7 | | Timestamp | 8 | | Blob | 9 | ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Zu prüfender Wert, z. B. eine Variable oder das Ergebnis einer Funktion. | | b | Datentyp (siehe oben für gültige Werte). | ## Beispiele | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | Variable vom Datentyp String | 0 | true | | Funktionsergebnis vom Datentyp Date | 3 | true | | Funktionsergebnis vom Datentyp Date | 8 | false |