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

Function InvertBool

tests/runtime/variants/test.go:35–37  ·  view source on GitHub ↗
(x bool)

Source from the content-addressed store, hash-verified

33}
34
35func InvertBool(x bool) bool {
36 return !x
37}
38
39func VariantCasts(x Casts) (C1, C2, C3, C4, C5, C6) {
40 return x.F0, x.F1, x.F2, x.F3, x.F4, x.F5

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected