--- title: "Logic (Calculation expression)" slug: "calc-function-logic" updated: 2026-05-12T12:10:28Z published: 2026-05-12T12:10:33Z canonical: "docs.lobstersoftware.com/calc-function-logic" --- > ## 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. # Logic (Calculation expression) In the group "Logic" there are functions with which a simple decision logic can be built. ## Available functions - [cmp (Compare)](/v1/docs/en/calc-function-cmp) - [if (if, then, else)](/v1/docs/en/calc-function-if) - [ifEmpty](/v1/docs/en/calc-function-if-empty) - [ifNotEmpty](/v1/docs/en/calc-function-if-not-empty) - [or (Logical Or)](/v1/docs/en/calc-function-or) - [and (Logical And)](/v1/docs/en/calc-function-and) - [not (Logical negation)](/v1/docs/en/calc-function-not) - [isNull (Check for NULL or undefined)](/v1/docs/en/calc-function-is-null) - [isArray](/v1/docs/en/calc-function-is-array)