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

Function features

cel/options.go:978–984  ·  view source on GitHub ↗

features sets the given feature flags. See list of Feature constants above.

(flag int, enabled bool)

Source from the content-addressed store, hash-verified

976
977// features sets the given feature flags. See list of Feature constants above.
978func features(flag int, enabled bool) EnvOption {
979 return func(e *Env) (*Env, error) {
980 e.ensureMutableFeatures()
981 e.features[flag] = enabled
982 return e, nil
983 }
984}
985
986func setLimit(id limitID, limit int) EnvOption {
987 if limit < 0 {

Callers 9

JSONFieldNamesFunction · 0.85
configToEnvOptionsFunction · 0.85
EnableMacroCallTrackingFunction · 0.85
DefaultUTCTimeZoneFunction · 0.85

Calls 1

ensureMutableFeaturesMethod · 0.80

Tested by

no test coverage detected