MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / assert

Function assert

modules/benchmarks-ts/src/synthetic.ts:155–159  ·  view source on GitHub ↗
(cond: boolean)

Source from the content-addressed store, hash-verified

153// ---------- update ----------
154
155function assert(cond: boolean) {
156 if (!cond) {
157 throw new Error('assertion failed');
158 }
159}
160
161export const update_bulk_unique_0_u32_u64_u64 = spacetimedb.reducer(
162 { name: 'update_bulk_unique_0_u32_u64_u64' },

Callers 5

synthetic.tsFile · 0.85
bindings.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…