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

Function isTimeType

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

Source from the content-addressed store, hash-verified

168}
169
170func isTimeType(typ *exprpb.Type) bool {
171 return typ.GetAbstractType() != nil && typ.GetAbstractType().GetName() == "TIME"
172}
173
174func isDateTimeType(typ *exprpb.Type) bool {
175 return typ.GetAbstractType() != nil && typ.GetAbstractType().GetName() == "DATETIME"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected