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

Struct MapFunc

expr/builtins/list_map.go:213–213  ·  view source on GitHub ↗

Map Create a map from two values. If the right side value is nil then does not evaluate. map(left, right) => map[string]value{left:right}

Source from the content-addressed store, hash-verified

211// map(left, right) => map[string]value{left:right}
212//
213type MapFunc struct{}
214
215// Type is MapValueType
216func (m *MapFunc) Type() value.ValueType { return value.MapValueType }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected