Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib-amd/utilities/selectableOption/SelectableOption.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

17 lines
673 B
JavaScript

define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAllSelectedOptions = getAllSelectedOptions;
function getAllSelectedOptions(options, selectedIndices) {
var selectedOptions = [];
for (var _i = 0, selectedIndices_1 = selectedIndices; _i < selectedIndices_1.length; _i++) {
var index = selectedIndices_1[_i];
var option = options[index];
if (option) {
selectedOptions.push(option);
}
}
return selectedOptions;
}
});
//# sourceMappingURL=SelectableOption.js.map