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

Function ValidateTimestampLiterals

cel/validator.go:231–233  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Calls 1

newFormatValidatorFunction · 0.85