--- title: "or (Logical Or)" slug: "calc-function-or" updated: 2026-05-12T12:21:33Z published: 2026-05-12T12:21:33Z canonical: "docs.lobstersoftware.com/calc-function-or" --- > ## 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. # or (Logical Or) *See also*: [and (Logical And)](/v1/docs/en/calc-function-and), [if (if, then, else)](/v1/docs/en/calc-function-if) > [!NOTE] > The function $or combines the transferred Boolean values (*true/false*) with a "logical OR" operator and returns the result, also as a Boolean value. > > > [!TIP] > > **Tooltip** > > > > Syntax: *$or(a,b[,c[,...]])* > > > > Returns *true*, if at least one of the parameters returns *true*. > > > > Example: $or($false,$false) – returns false, $or($false,$true,$false) – returns true ## Syntax *$or(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 OR" from left to right. ## Return value *Returns true*, if at least one of the parameters returns *true*. ## Example | Syntax | Result | | --- | --- | | $or(false,false) | false | | $or(false,true) | true | | $or(true,false) | true | | $or(true,true) | true | | $or(false,false,true,false) | true |