dialog.dialog.confirm
Declaration
lua
dialog.confirm(title [, msg])
Description
Show yes/no confirmation dialog.
Parameters
`title` (string)
`msg` (string, optional)
Return Values
`boolean`
Example
lua
if dialog.confirm("Delete?", "This cannot be undone") then
-- delete
end