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

Function featureIDByName

cel/options.go:91–98  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

89}
90
91func featureIDByName(name string) (int, bool) {
92 for id, n := range featureIDsToNames {
93 if n == name {
94 return id, true
95 }
96 }
97 return 0, false
98}
99
100// limitID is used as a key for configurable limits. These are options that
101// support exporting to YAML environment config.

Callers 1

configToEnvOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected