MCPcopy Index your code
hub / github.com/microsoft/SandDance / selectFirst

Function selectFirst

docs/app/js/sanddance-app.js:497–503  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

495 return options;
496}
497function selectFirst(options) {
498 for(let i = 0; i < options.length; i++){
499 if (options[i].itemType === (0, _base.base).fluentUI.DropdownMenuItemType.Header) continue;
500 options[i].selected = true;
501 return;
502 }
503}
504function getColumnMapOptions(props) {
505 if (!props.specRole) return null;
506 let categoricalColumns;

Callers 1

ColumnMapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected