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

Method Validators

cel/env.go:756–758  ·  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

754
755// Validators returns a shallow copy of the set of ASTValidators configured on the environment.
756func (e *Env) Validators() []ASTValidator {
757 return slices.Clone(e.validators)
758}
759
760// Parse parses the input expression value `txt` to a Ast and/or a set of Issues.
761//

Callers 2

ToConfigMethod · 0.95

Calls 1

CloneMethod · 0.45

Tested by 1