togglevalue
nounUK /ˈtɒɡ.əlˌvæl.juː/
US /ˈtɑː.ɡəlˌvæl.juː/
A toggle value is a setting that can be switched on or off.
The toggle value for dark mode is set to on.
OTHER MEANINGS
2. A value that alternates between two states each time it is changed.
Each click flips the toggle value between true and false.
3. In programming, a variable used to remember whether something is enabled.
The script checks the toggle value before showing the menu.
4. A stored choice that a user can turn on or off in a settings menu.
Save the toggle value so the app remembers your choice next time.