RadioGroup():hasDefaultValue()
Check whether the group was created with a default button.
Signature
hasDefaultValue(): boolean
Returns
boolean - true when a default button id was passed to RadioGroup(id, defaultButtonId).
Example
local group = RadioGroup(5, 2)
group:add(RadioButton(1, "Small"))
group:add(RadioButton(2, "Large"))
if group:hasDefaultValue() then
toast("Default: " .. group:getDefaultButtonId())
end