MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / assert

Function assert

tests/runtime/lists/runner.go:56–60  ·  view source on GitHub ↗
(v bool)

Source from the content-addressed store, hash-verified

54}
55
56func assert(v bool) {
57 if !v {
58 panic("assertion failed")
59 }
60}

Calls

no outgoing calls