MCPcopy Index your code
hub / github.com/TanStack/db / check

Function check

packages/db/src/utils/btree.ts:1022–1027  ·  view source on GitHub ↗
(fact: boolean, ...args: Array<any>)

Source from the content-addressed store, hash-verified

1020const ReusedArray: Array<any> = [] // assumed thread-local
1021
1022function check(fact: boolean, ...args: Array<any>) {
1023 if (!fact) {
1024 args.unshift(`B+ tree`) // at beginning of message
1025 throw new Error(args.join(` `))
1026 }
1027}

Callers 1

forRangeMethod · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…