1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const signature_1 = require("../../models/reflections/signature");
|
4 | function ifSignature(obj, arg) {
|
5 | if (obj instanceof signature_1.SignatureReflection) {
|
6 | return arg.fn(this);
|
7 | }
|
8 | else {
|
9 | return arg.inverse(this);
|
10 | }
|
11 | }
|
12 | exports.ifSignature = ifSignature;
|
13 | //# sourceMappingURL=if-signature.js.map |
\ | No newline at end of file |