Widget/API/IsChecked

__NOTOC__
Returns whether a checkbox is checked or not
MyCheckbox:IsChecked();
== Parameters ==
=== Arguments ===
:None known
=== Returns ===
:;Boolean
::true or false
----
== Example ==
if (MyCheckbox:IsChecked() == true) then
 DEFAULT_CHAT_FRAME:AddMessage("Checkbox is checked",1,1,1);
else
 DEFAULT_CHAT_FRAME:AddMessage("Checkbox is not checked",1,1,1);
end
see also: Widget_API_SetChecked
Category:Widget/API