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

Struct MapKeys

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

MapKeys: Take a map and extract array of keys given input: {"tag.1":"news","tag.2":"sports"} mapkeys(match("tag.")) => []string{"news","sports"}

Source from the content-addressed store, hash-verified

334// mapkeys(match("tag.")) => []string{"news","sports"}
335//
336type MapKeys struct{}
337
338// Type []string aka strings
339func (m *MapKeys) Type() value.ValueType { return value.StringsType }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected