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

Function ValidateTimestampLiterals

cel/validator.go:221–223  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

219
220// ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check.
221func ValidateTimestampLiterals() ASTValidator {
222 return newFormatValidator(overloads.TypeConvertTimestamp, 0, evalCall)
223}
224
225// ValidateRegexLiterals ensures that regex patterns are validated after type-check.
226func ValidateRegexLiterals() ASTValidator {

Callers 4

validator.goFile · 0.85
ExtendedValidationsFunction · 0.85

Calls 1

newFormatValidatorFunction · 0.85

Tested by 2