1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.str = void 0;
|
7 |
|
8 | var str = function str(obj) {
|
9 | if (!obj) {
|
10 | return '';
|
11 | }
|
12 |
|
13 | if (typeof obj === 'string') {
|
14 | return obj;
|
15 | }
|
16 |
|
17 | throw new Error("Description: expected string, got: ".concat(JSON.stringify(obj)));
|
18 | };
|
19 |
|
20 | exports.str = str; |
\ | No newline at end of file |