Skip to content

promptInt prompt [default]

promptInt prompts the user with prompt and returns the user's response interpreted as an integer. If default is passed and the user's response is empty then it returns default.

Back to top