--- title: "a equals b" slug: "logical-equals" updated: 2026-08-13T12:07:20Z published: 2026-08-13T12:07:20Z canonical: "docs.lobstersoftware.com/logical-equals" --- > ## 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 This function returns "true" if **a** and **b** are equal. The check depends on the data types of parameters **a** and **b**. ## Data types If both arguments are of type "String", a "String" comparison is performed. If one argument is of type "Boolean", the other one will be converted to "Boolean" and a "Boolean" comparison is done. In all other cases, a numeric comparison will be performed using "BigDecimal". "Dates" and "Timestamps" are converted to 'Unix time', i.e. the number of milliseconds since "1970-01-01 00:00:00" in order to compare them numerically. See [Data types](/v1/docs/en/intro-concepts-data-types) (→ "Comparisons and types"). ## Parameters | Parameter | Description | | --- | --- | | a | Value | | b | Value | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | Text | Text | true | | Text | text | false | | 1234 | 1234 | true | | 01234 | 1234 | false | | 1234 | 1234.0 | false |