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

Function ValidateDurationLiterals

cel/validator.go:200–202  ·  view source on GitHub ↗

ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check.

()

Source from the content-addressed store, hash-verified

198
199// ValidateDurationLiterals ensures that duration literal arguments are valid immediately after type-check.
200func ValidateDurationLiterals() ASTValidator {
201 return newFormatValidator(overloads.TypeConvertDuration, 0, evalCall)
202}
203
204// ValidateTimestampLiterals ensures that timestamp literal arguments are valid immediately after type-check.
205func ValidateTimestampLiterals() ASTValidator {

Callers 3

validator.goFile · 0.85
ExtendedValidationsFunction · 0.85

Calls 1

newFormatValidatorFunction · 0.85

Tested by 1