MCPcopy Create free account
hub / github.com/GCWing/BitFun / is_single_auto_submit

Method is_single_auto_submit

src/apps/cli/src/ui/question.rs:132–134  ·  view source on GitHub ↗

Whether this is a single question with single-select (auto-submit on pick)

(&self)

Source from the content-addressed store, hash-verified

130
131 /// Whether this is a single question with single-select (auto-submit on pick)
132 fn is_single_auto_submit(&self) -> bool {
133 self.questions.len() == 1 && !self.questions[0].multi_select
134 }
135
136 /// Whether we are on the confirm/review page (multi-question only)
137 fn on_confirm_page(&self) -> bool {

Callers 5

on_confirm_pageMethod · 0.80
tab_countMethod · 0.80
handle_editing_keyMethod · 0.80
select_current_optionMethod · 0.80
render_question_hint_barFunction · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected