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

Function ValidateTimestampLiterals

cel/validator.go:232–234  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

230
231// ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check.
232func ValidateTimestampLiterals() ASTValidator {
233 return newFormatValidator(overloads.TypeConvertTimestamp, 0, evalCall)
234}
235
236// ValidateRegexLiterals ensures that regex patterns are validated after type-check.
237func ValidateRegexLiterals() ASTValidator {

Callers 4

validator.goFile · 0.85
ExtendedValidationsFunction · 0.85

Calls 1

newFormatValidatorFunction · 0.85

Tested by 2