MCPcopy
hub / github.com/expr-lang/expr / Helper

Method Helper

internal/testify/assert/assertion_compare_test.go:108–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108func (t *outputT) Helper() {
109 if t.helpers == nil {
110 t.helpers = make(map[string]struct{})
111 }
112 t.helpers[callerName(1)] = struct{}{}
113}
114
115// callerName gives the function name (qualified with a package path)
116// for the caller after skip frames (where 0 means the current function).

Callers 15

ConditionfFunction · 0.45
ContainsfFunction · 0.45
DirExistsfFunction · 0.45
ElementsMatchfFunction · 0.45
EmptyfFunction · 0.45
EqualfFunction · 0.45
EqualErrorfFunction · 0.45
EqualExportedValuesfFunction · 0.45
EqualValuesfFunction · 0.45
ErrorfFunction · 0.45
ErrorAsfFunction · 0.45
ErrorContainsfFunction · 0.45

Calls 1

callerNameFunction · 0.85

Tested by

no test coverage detected