MCPcopy
hub / github.com/flosch/pongo2 / getResolvedValue

Method getResolvedValue

value.go:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (v *Value) getResolvedValue() reflect.Value {
38 if v.val.IsValid() && v.val.Kind() == reflect.Ptr {
39 return v.val.Elem()
40 }
41 return v.val
42}
43
44// IsString checks whether the underlying value is a string
45func (v *Value) IsString() bool {

Callers 15

IsStringMethod · 0.95
IsBoolMethod · 0.95
IsFloatMethod · 0.95
IsIntegerMethod · 0.95
IsNilMethod · 0.95
StringMethod · 0.95
IntegerMethod · 0.95
FloatMethod · 0.95
BoolMethod · 0.95
IsTrueMethod · 0.95
NegateMethod · 0.95
LenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected