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

Function isDateTimeType

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

Source from the content-addressed store, hash-verified

172}
173
174func isDateTimeType(typ *exprpb.Type) bool {
175 return typ.GetAbstractType() != nil && typ.GetAbstractType().GetName() == "DATETIME"
176}
177
178func isTimestampType(typ *exprpb.Type) bool {
179 return typ.GetWellKnown() == exprpb.Type_TIMESTAMP

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected