UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

13 lines (12 loc) 341 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function getOrCreate(entries, key, create) { let value = entries.get(key); if (value === void 0) { value = create(); entries.set(key, value); } return value; } exports.getOrCreate = getOrCreate; //# sourceMappingURL=get-or-create.cjs.map