Shortcut allowing to provide user a prompt and a message that is to be read and validated before pursuing process. This function is targeted for function creators where user interaction is required.
message_on_prompt(...)
String character to put in a message
Nothing to be returned. The function sends a message as a prompt in the console.
{
message_on_prompt("Do you want to continue? Press `enter` or `esc`")
}
#> Do you want to continue? Press `enter` or `esc`