enableAlert
Enables or disables an existing alert.
Return
A new instance of the alert with the updated enabled state.
Parameters
alert
The custom alert to enable or disable.
enabled
true to enable the alert, false to disable it.
Enables or disables an existing alert.
A new instance of the alert with the updated enabled state.
The custom alert to enable or disable.
true to enable the alert, false to disable it.