igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
23 lines (22 loc) • 1.06 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
var ReflectionUtil = /** @class */ /*@__PURE__*/ (function () {
function ReflectionUtil() {
}
ReflectionUtil.getPropertyGetter = function (type, propertyName) {
if (typeof type.prototype[propertyName] === "function") {
return function (instance) {
return type.prototype[propertyName].apply(instance, arguments);
};
}
return function (instance) {
return instance[propertyName];
};
};
return ReflectionUtil;
}());
export { ReflectionUtil };