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

Function ListParam

tests/runtime/lists/test.go:33–37  ·  view source on GitHub ↗
(x []uint8)

Source from the content-addressed store, hash-verified

31}
32
33func ListParam(x []uint8) {
34 if !slices.Equal(x, []uint8{1, 2, 3, 4}) {
35 panic("trouble")
36 }
37}
38
39func ListParam2(x string) {
40 if x != "foo" {

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected