MCPcopy Index your code
hub / github.com/coder/coder / selectedOptions

Method selectedOptions

cli/cliui/select.go:711–719  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

709}
710
711func (m multiSelectModel) selectedOptions() []string {
712 selected := []string{}
713 for _, o := range m.options {
714 if o.chosen {
715 selected = append(selected, o.option)
716 }
717 }
718 return selected
719}

Callers 2

ViewMethod · 0.95
MultiSelectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected