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
| Data | Description |
|---|---|
| Value | Boolean value to store |
Actions
| Signal | Description |
|---|---|
| Set | Sets the variable to the current input value |
| Toggle | Flips the boolean value (true→false, false→true) |
Outputs
Current State
| Data | Description |
|---|---|
| Value | Current boolean value stored in the variable |
Events
| Signal | Description |
|---|---|
| Changed | Triggered 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
- Toggle Switches: Store on/off states for UI controls
- Feature Flags: Enable/disable features based on conditions
- Modal States: Track whether dialogs or popups are open
- Selection States: Remember which items are selected
- Validation States: Track form validation results