confirm(message)
Class: Window.
Description:
Shows a dialog window asking user to confirm your message. User has an option to press OK or Cancel, which result in returned values true or false respectively.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
string |
Message to show in dialog window. |
Returns:
Returns boolean indicating if user confirmed the message or not.
Type: boolean
