MCPcopy Index your code
hub / github.com/cockscomb/cel2sql / isDateType

Function isDateType

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

Source from the content-addressed store, hash-verified

164}
165
166func isDateType(typ *exprpb.Type) bool {
167 return typ.GetAbstractType() != nil && typ.GetAbstractType().GetName() == "DATE"
168}
169
170func isTimeType(typ *exprpb.Type) bool {
171 return typ.GetAbstractType() != nil && typ.GetAbstractType().GetName() == "TIME"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected