Overview
Manages boolean open/closed state with stable helper handlers. Theopen and close handlers are idempotent and invoke onOpen or onClose only when the state actually changes.
Import
Signature
Parameters
Initial disclosure state
Return Value
A tuple containing the current state and handler functions
Current disclosure state