MCPcopy Index your code
hub / github.com/anomalyco/opencode / questionOther

Function questionOther

packages/opencode/src/cli/cmd/run/question.shared.ts:87–94  ·  view source on GitHub ↗
(request: QuestionRequest, state: QuestionBodyState)

Source from the content-addressed store, hash-verified

85}
86
87export function questionOther(request: QuestionRequest, state: QuestionBodyState): boolean {
88 const info = questionInfo(request, state)
89 if (!info || info.custom === false) {
90 return false
91 }
92
93 return state.selected === info.options.length
94}
95
96export function questionTotal(request: QuestionRequest, state: QuestionBodyState): number {
97 const info = questionInfo(request, state)

Callers 2

RunQuestionBodyFunction · 0.90
questionSelectFunction · 0.85

Calls 1

questionInfoFunction · 0.85

Tested by

no test coverage detected