CheckBox():hasDefaultValue()
Check whether the checkbox was created with a default answer.
Signature
hasDefaultValue(): boolean
Returns
boolean - true when a default was passed to CheckBox(id, text, defaultChecked).
Example
local box = CheckBox(1, "Remember me")
if not box:hasDefaultValue() then
box = CheckBox(1, "Remember me", false)
end
Dialog:add(box)