"use strict";const r=require("../../../../../../../../_virtual/toExpression.js");require("../validators/generated/index.js");const t=require("../../../../../../../../_virtual/index35.js");Object.defineProperty(r.__exports,"__esModule",{value:!0});r.__exports.default=void 0;var e=t.__exports,i=n;r.__exports.default=i;function n(s){if((0,e.isExpressionStatement)(s)&&(s=s.expression),(0,e.isExpression)(s))return s;if((0,e.isClass)(s)?s.type="ClassExpression":(0,e.isFunction)(s)&&(s.type="FunctionExpression"),!(0,e.isExpression)(s))throw new Error(`cannot turn ${s.type} to an expression`);return s}
//# sourceMappingURL=toExpression.js.map
