function alert

Shows the given message and waits for the enter key pressed. If the stdin is not interactive, it does nothing.

Parameters

optional
message: string