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(...)

Arguments

...

String character to put in a message

Value

Nothing to be returned. The function sends a message as a prompt in the console.

Examples

{

message_on_prompt("Do you want to continue? Press `enter` or `esc`")

}
#> Do you want to continue? Press `enter` or `esc`