MCPcopy Create free account
hub / github.com/araddon/qlbridge / Get

Method Get

value/value.go:882–888  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

880 return MapValue{v: mv}
881}
882func (m MapBoolValue) Get(key string) (Value, bool) {
883 v, ok := m.v[key]
884 if ok {
885 return NewBoolValue(v), ok
886 }
887 return nil, ok
888}
889func (m MapBoolValue) SliceValue() []Value {
890 vs := make([]Value, 0, len(m.v))
891 for k := range m.v {

Callers 1

TestMapBoolValueFunction · 0.95

Calls 1

NewBoolValueFunction · 0.85

Tested by 1

TestMapBoolValueFunction · 0.76