Skip to main content

Boolean Variable

This node stores and manages boolean (true/false) state values.

The Boolean Variable node provides persistent boolean state storage with get/set operations.

The Boolean Variable node stores boolean values that persist across application state changes. It provides a central way to manage true/false flags, toggle states, and boolean conditions in your application.

Inputs

Value Management

DataDescription
ValueBoolean value to store

Actions

SignalDescription
SetSets the variable to the current input value
ToggleFlips the boolean value (true→false, false→true)

Outputs

Current State

DataDescription
ValueCurrent boolean value stored in the variable

Events

SignalDescription
ChangedTriggered when the variable value changes

Usage

Boolean State Management

Boolean Variables are essential for:

  • Feature Toggles: Enable/disable application features
  • UI State: Track visibility, active states, selection status
  • User Preferences: Store on/off settings and options
  • Conditional Logic: Control application flow and behavior

Example Use Cases

  1. Toggle Switches: Store on/off states for UI controls
  2. Feature Flags: Enable/disable features based on conditions
  3. Modal States: Track whether dialogs or popups are open
  4. Selection States: Remember which items are selected
  5. Validation States: Track form validation results