A React Hook for managing boolean state.
If you need to manage the alternating states of multiple values (such as toggling between multiple languages, themes, etc.), it is recommended to use useCircularList.
Click links below to view source on GitHub.
Represents the initial boolean value of the state.