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

Method Validators

cel/env.go:691–693  ·  view source on GitHub ↗

Validators returns a shallow copy of the set of ASTValidators configured on the environment.

()

Source from the content-addressed store, hash-verified

689
690// Validators returns a shallow copy of the set of ASTValidators configured on the environment.
691func (e *Env) Validators() []ASTValidator {
692 return slices.Clone(e.validators)
693}
694
695// Parse parses the input expression value `txt` to a Ast and/or a set of Issues.
696//

Callers 2

ToConfigMethod · 0.95

Calls 1

CloneMethod · 0.80

Tested by 1