@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
9 lines (8 loc) • 877 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=e=>e instanceof Promise;function n(e){return e&&typeof e=="object"&&!Array.isArray(e)&&!c(e)}const s=(e,...r)=>{if(!r.length)return e;const i=r.shift();if(n(e)&&n(i))for(const o in i)o==="__proto__"||o==="constructor"||o==="prototype"||(n(i[o])?(e[o]||Object.assign(e,{[o]:{}}),s(e[o],i[o])):i[o]!==void 0&&Object.assign(e,{[o]:i[o]}));return s(e,...r)};exports.deepMerge=s;exports.isObject=n;exports.isPromise=c;