--- title: "(a greater b) and (a less c)" slug: "logical-between" updated: 2026-08-13T11:56:26Z published: 2026-08-13T11:56:26Z canonical: "docs.lobstersoftware.com/logical-between" --- > ## 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 greater b) and (a less c) This function returns "true" if the condition **b** < **a** < **c** is met, otherwise, "false" is returned. The comparison is done numerically. All non-numeric types (e.g. "Date") are implicitly converted to a number (see [Data types](/v1/docs/en/intro-concepts-data-types)**)**. ## Parameters | Parameter | Description | | --- | --- | | a | Value | | b | Value | | c | Value | ## Examples | Parameter a | Parameter b | Parameter c | Result | | --- | --- | --- | --- | | 1 | 1 | 1 | false | | 1 | 2 | 3 | false | | 2 | 1 | 3 | true |