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

Function TestValue_nil

internal/deref/deref_test.go:97–100  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

95}
96
97func TestValue_nil(t *testing.T) {
98 got := deref.Value(reflect.ValueOf(nil))
99 assert.False(t, got.IsValid())
100}
101
102func TestValue_nil_in_chain(t *testing.T) {
103 var a any = nil

Callers

nothing calls this directly

Calls 2

ValueFunction · 0.92
FalseFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…