MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ValidateTimestampLiterals

Function ValidateTimestampLiterals

cel/validator.go:205–207  ·  view source on GitHub ↗

ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check.

()

Source from the content-addressed store, hash-verified

203
204// ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check.
205func ValidateTimestampLiterals() ASTValidator {
206 return newFormatValidator(overloads.TypeConvertTimestamp, 0, evalCall)
207}
208
209// ValidateRegexLiterals ensures that regex patterns are validated after type-check.
210func ValidateRegexLiterals() ASTValidator {

Callers 3

validator.goFile · 0.85
ExtendedValidationsFunction · 0.85

Calls 1

newFormatValidatorFunction · 0.85

Tested by 1