MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / getSelectedOptionLabel

Function getSelectedOptionLabel

Script/FastDork.js:1043–1047  ·  view source on GitHub ↗
(selectElement)

Source from the content-addressed store, hash-verified

1041 }
1042
1043 function getSelectedOptionLabel(selectElement) {
1044 if (!selectElement || selectElement.value === "0") return "";
1045 const selectedOption = selectElement.options[selectElement.selectedIndex];
1046 return selectedOption?.textContent?.trim() || "";
1047 }
1048
1049 function formatMissingItems(items) {
1050 if (items.length === 0) return "";

Callers 1

updateRunStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected