Switch.getState

bool getState()

Gets the underlying state of the [gtk.switch_.Switch].

Returns

the underlying state