igniteui-react-core
Version:
Ignite UI React Core.
22 lines (21 loc) • 989 B
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.
*/
export let ReflectionUtil = /*@__PURE__*/ (() => {
class 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;
})();