Crate hel_prompt
source ·Traits
Functions
- Note - this function will create a copy of a string of stdin Use
prompt_string
for strings - Returns
true
if first letter of a user response corresponds to “y” or “Y”, otherwisefalse
prompt_string
for stringstrue
if first letter of a user response corresponds to “y” or “Y”, otherwise false