UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

12 lines 441 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getClassPropertyDefault = void 0; const getClassPropertyDefault = (inst, pty) => { var _a; if (inst[`\$${pty}`]) { return inst[`\$${pty}`][0]; } return (_a = inst[`_${pty}`]) !== null && _a !== void 0 ? _a : inst[pty]; }; exports.getClassPropertyDefault = getClassPropertyDefault; //# sourceMappingURL=getClassPropertyDefault.js.map