Skip to content

__yes_or_no__

builtin · libnexusinterp/corefcn/input-proprietary.cc

: tf = __yes_or_no__ ("prompt")

Ask a yes or no question. The text (yes or no) is appended to prompt; only the complete words yes and no are accepted, anything else repeats the question.