UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

20 lines (19 loc) • 616 B
const collectionOptionsBrand = /* @__PURE__ */ Symbol.for( `@tanstack/db.collectionOptions` ); const collectionOptionsFactory = /* @__PURE__ */ Symbol.for( `@tanstack/db.collectionOptions.factory` ); const collectionOptionsClaim = /* @__PURE__ */ Symbol.for( `@tanstack/db.collectionOptions.claim` ); function hasCollectionOptionsBrand(value) { return typeof value === `object` && value !== null && value[collectionOptionsBrand] === true; } export { collectionOptionsBrand, collectionOptionsClaim, collectionOptionsFactory, hasCollectionOptionsBrand }; //# sourceMappingURL=collection-options.js.map