--- title: "a equals true ? true b, false break" slug: "basic-switch-break" updated: 2026-08-10T06:52:04Z published: 2026-08-10T06:52:04Z canonical: "docs.lobstersoftware.com/basic-switch-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 true ? true b, false break If **a** equals "true" (Boolean value), the function returns **b**. Subsequent functions in a Function chain on this target field are executed. If **a** is not "true", 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 | Value to compare to "true". | | b | Value to return in case of equality. | ## Examples | Parameter a | Parameter b | Result | Break of function execution | | --- | --- | --- | --- | | | it's true | | Yes. | | false | it's true | | Yes. | | true | it's true | it's true | No. | 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.