ToggleAction.getActive

bool getActive()

Returns the checked state of the toggle action.

Returns

the checked state of the toggle action