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

Function isTimestampType

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

Source from the content-addressed store, hash-verified

176}
177
178func isTimestampType(typ *exprpb.Type) bool {
179 return typ.GetWellKnown() == exprpb.Type_TIMESTAMP
180}
181
182func isDurationRelatedType(typ *exprpb.Type) bool {
183 abstractType := typ.GetAbstractType()

Callers 2

callCastingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected