--- title: "aborts if a not equals b" slug: "logical-equals-exception" updated: 2026-08-13T12:04:38Z published: 2026-08-13T12:04:38Z canonical: "docs.lobstersoftware.com/logical-equals-exception" --- > ## 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. # aborts if a not equals b This function returns "true" if **a** and **b** are identical, otherwise, the function will be terminated with an error. ## Parameters | Parameter | Description | | --- | --- | | a | Value | | b | Value | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | Text | Text | true | | Text | text | Function terminates with an error. | | 1234 | 1234 | true | | 1234 | 1234.0 | Function terminates with an error. |