ExecutableQuestionService

struct ExecutableQuestionService

The ExecutableQuestionService

  • Ask Question

    Declaration

    Swift

    func ask(_ question: Question, predefinedAnswer: String?) -> String

    Parameters

    question

    The Question that should be asked

    predefinedAnswer

    The optional predefined answer

    Return Value

    The answer