UNPKG

417 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3function someOf(...values) {
4 return {
5 pickOne: false,
6 choices: values.map(value => ({ value })),
7 };
8}
9exports.someOf = someOf;
10function oneOf(...values) {
11 return {
12 pickOne: true,
13 choices: values.map(value => ({ value })),
14 };
15}
16exports.oneOf = oneOf;
17//# sourceMappingURL=parameterUtils.js.map
\No newline at end of file