MCPcopy
hub / github.com/TomWright/dasel / isDencodingMap

Method isDencodingMap

model/value_map.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func (v *Value) isDencodingMap() bool {
26 return v.UnpackKinds(reflect.Interface, reflect.Pointer).value.Type() == reflect.TypeFor[orderedmap.Map]()
27}
28
29func (v *Value) dencodingMapValue() (*orderedmap.Map, error) {
30 if v.isDencodingMap() {

Callers 6

IsMapMethod · 0.95
dencodingMapValueMethod · 0.95
SetMapKeyMethod · 0.95
GetMapKeyMethod · 0.95
DeleteMapKeyMethod · 0.95
MapKeysMethod · 0.95

Calls 2

UnpackKindsMethod · 0.95
TypeMethod · 0.80

Tested by

no test coverage detected