@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) • 868 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"});function n(t,l){return t===l||Number.isNaN(t)&&Number.isNaN(l)}function a(t,l){if(t.length!==l.length)return!1;for(let e=0;e<t.length;e++)if(!n(t[e],l[e]))return!1;return!0}function s(t,l=a){let e=null;function i(...r){if(e&&e.lastThis===this&&l(r,e.lastArgs))return e.lastResult;const u=t.apply(this,r);return e={lastResult:u,lastArgs:r,lastThis:this},u}return i.clear=function(){e=null},i}exports.memoizeOne=s;