Return nothing in a function with else

Hi,
I need a function with if else, which gets every minute the actually msg.

if ... == 100 than do ... :ok_hand:

else "stopp sending msg"

is this possible to make the function not sending a msg as "else" ??

else {
return
}

thanks :crazy_face: :face_with_hand_over_mouth: