Type Alias QuestionUntilConditionMetOptions
QuestionUntilConditionMetOptions: { invalidInputMessage: string; questionToAsk: string; tryCountMax?: number; verifyResponseCallback: ((response: string) => boolean | Promise<boolean>); } & Partial<AskQuestionOptions> Type declaration
invalidInputMessage: string
questionToAsk: string
Optional
tryCountMax?: number
verifyResponseCallback: ((response: string) => boolean | Promise<boolean>)
- (response): boolean | Promise<boolean>
Returns boolean | Promise<boolean>
Options for askQuestionUntilConditionMet.