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

Function features

cel/options.go:1155–1161  ·  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

1153
1154// features sets the given feature flags. See list of Feature constants above.
1155func features(flag int, enabled bool) EnvOption {
1156 return func(e *Env) (*Env, error) {
1157 e.ensureMutableFeatures()
1158 e.features[flag] = enabled
1159 return e, nil
1160 }
1161}
1162
1163func setLimit(id limitID, limit int) EnvOption {
1164 if limit < 0 {

Callers 10

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

Calls 1

ensureMutableFeaturesMethod · 0.80

Tested by

no test coverage detected