Methods to create and manipulate prompt objects
Arguments
- input
Input to prompt. If a character string is passed,
a new prompt object will be created with that character string as the base prompt.
Value
A prompt object (or an error if an unsuitable input is provided)