MCPcopy Index your code
hub / github.com/microsoft/typescript-go / assertSlow

Function assertSlow

internal/debug/debug.go:52–61  ·  view source on GitHub ↗
(message ...any)

Source from the content-addressed store, hash-verified

50}
51
52func assertSlow(message ...any) {
53 // See https://dave.cheney.net/2020/05/02/mid-stack-inlining-in-go
54 var msg string
55 if len(message) > 0 {
56 msg = "False expression: " + fmt.Sprint(message...)
57 } else {
58 msg = "False expression."
59 }
60 Fail(msg)
61}

Callers 1

AssertFunction · 0.85

Calls 2

lenFunction · 0.85
FailFunction · 0.70

Tested by

no test coverage detected