29.04.2021, 12:16
For boolean data type the value can be either true or false. You can simply write it like this:
Code:
value = event.getvalue()
if value then
send (mail)
end