--- title: "and (Logical And)" slug: "calc-function-and" updated: 2026-05-12T12:21:14Z published: 2026-05-12T12:21:14Z canonical: "docs.lobstersoftware.com/calc-function-and" --- > ## 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. # and (Logical And) *See also*: [or (Logical Or)](/v1/docs/en/calc-function-or), [if (if, then, else)](/v1/docs/en/calc-function-if) > [!NOTE] > The function $and combines the transferred Boolean values (*true/false*) with a "logical AND" operator and returns the result, also as a Boolean value. > > > [!TIP] > > **Tooltip** > > > > Syntax: *$and(a,b[,c[,...]])* > > > > Returns *true*, if all passed parameters return *true*. > > > > Example: $and($true,$true,$true) – returns true, $and($true,$false) returns false ## Syntax *$and(a,b[,c[,...]])* ## Parameter Any number of Boolean values (*true/false*) can be transferred as parameters. The individual fixed values or evaluated expressions are then linked "logical AND" from left to right. ## Return value Returns true, if all passed parameters return *true*. ## Examples | **Syntax** | **Result** | | --- | --- | | $and(false,false) | false | | $and(false,true) | false | | $and(true,false) | false | | $and(true,true) | true | | $and(true,true,true,false) | false | | $and(true,true,true,true) | true |