MCPcopy Index your code
hub / github.com/benbjohnson/immutable / assert

Function assert

immutable.go:2455–2459  ·  view source on GitHub ↗
(condition bool, message string)

Source from the content-addressed store, hash-verified

2453}
2454
2455func assert(condition bool, message string) {
2456 if !condition {
2457 panic(message)
2458 }
2459}

Callers 14

ListMethod · 0.85
LenMethod · 0.85
GetMethod · 0.85
SetMethod · 0.85
AppendMethod · 0.85
PrependMethod · 0.85
SliceMethod · 0.85
IteratorMethod · 0.85
MapMethod · 0.85
LenMethod · 0.85
GetMethod · 0.85
SetMethod · 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…