--- title: "not (Logical negation)" slug: "calc-function-not" updated: 2026-05-12T12:22:01Z published: 2026-05-12T12:22:01Z canonical: "docs.lobstersoftware.com/calc-function-not" --- > ## 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. # not (Logical negation) *See also:* [and (Logical And)](/v1/docs/en/calc-function-and), [or (Logical Or)](/v1/docs/en/calc-function-or), [if (if, then, else)](/v1/docs/en/calc-function-if) > [!NOTE] > The $not function negates the passed Boolean value (*true/false*). In other words: *true* is returned as *false* and *false* is returned as *true*. > > > [!TIP] > > Tooltip > > > > Syntax: *$not(a)* > > > > Example: $not($true) – returns false ## Syntax *$not(a)* ## Parameter | Name | Description | | --- | --- | | a | A Boolean value (*true/false*) | ## Return value The negated input value is returned. ## Example | Syntax | Result | | --- | --- | | $not(true) | false | | $not(false) | true |