1 | export function checkKey(key) {
|
2 | if (typeof key !== 'string') {
|
3 | console.error("key: '" + key + "' must be a string");
|
4 | return false;
|
5 | }
|
6 | return true;
|
7 | }
|
8 | export function ensureValidValue(value, valueType) {
|
9 | if (typeof value !== valueType) {
|
10 | console.error("value: '" + value + "' must be a " + valueType);
|
11 | return false;
|
12 | }
|
13 | return true;
|
14 | }
|
15 | //# sourceMappingURL=application-settings-common.js.map |
\ | No newline at end of file |