MCPcopy Create free account
hub / github.com/cockscomb/cel2sql / isMapType

Function isMapType

cel2sql.go:720–723  ·  view source on GitHub ↗
(typ *exprpb.Type)

Source from the content-addressed store, hash-verified

718}
719
720func isMapType(typ *exprpb.Type) bool {
721 _, ok := typ.TypeKind.(*exprpb.Type_MapType_)
722 return ok
723}
724
725func isListType(typ *exprpb.Type) bool {
726 _, ok := typ.TypeKind.(*exprpb.Type_ListType_)

Callers 1

visitCallIndexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected