--- title: "a equals b ? true c, false break" slug: "basic-switch-value-break" updated: 2026-08-10T06:10:08Z published: 2026-08-10T06:10:08Z canonical: "docs.lobstersoftware.com/basic-switch-value-break" --- > ## 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 equals b ? true c, false break If **a** equals **b**, the function returns **c**. Subsequent functions in a Function chain on this target field are executed. If **a** is not equal to **b**, no value is assigned to the target field on which the function is located and the empty flag is set. Subsequent functions in a function chain on this target field are not executed. **IMPORTANT:** This function can only be used on fields within a node with value *Loop* in attribute "Iteration". ## Parameters | Parameter | Description | | --- | --- | | a | Comparison value 1. | | b | Comparison value 2. | | c | Return value if **a** equals **b**. | ## Examples | Parameter a | Parameter b | Parameter c | Result | Break of function execution | | --- | --- | --- | --- | --- | | 1 | 1 | they are equal | they are equal | No. | | 1 | 2 | they are equal | | Yes. | Function chains in Lobster consist of sequences of functions that are used to define conditions or to process data. The possibility of encapsulating them in macros and reusing them allows for central maintenance and compact use. Changes to a macro affect all profiles with that macro. Function chains can be determined both system-wide and client-specific.