@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
24 lines (23 loc) • 666 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
*-------------------------------------------------------------------------------------------
*/
class r {
constructor() {
this.objects = [];
}
init(e) {
let t;
for (let s = 0; s < e.length; s++)
s % 5e4 === 0 && (t = {}, this.objects.push(t)), t[e[s]] = !0;
}
hasId(e) {
return this.objects.some((t) => t[e]);
}
}
export {
r as SortedPublicItemIds
};