augment-vir - v31.13.0
    Preparing search index...

    Type Alias QuestionUntilConditionMetOptions

    QuestionUntilConditionMetOptions: {
        invalidInputMessage: string;
        questionToAsk: string;
        tryCountMax?: number;
        verifyResponseCallback: (response: string) => boolean | Promise<boolean>;
    } & Partial<AskQuestionOptions>

    Type declaration

    • invalidInputMessage: string
    • questionToAsk: string
    • OptionaltryCountMax?: number
    • verifyResponseCallback: (response: string) => boolean | Promise<boolean>

      Callback to call with the user's response to verify if their response is valid.